mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Implement Singlepass Terrain Render
This commit is contained in:
parent
49a8c0ad36
commit
87dd7ffc4a
35 changed files with 1658 additions and 951 deletions
|
|
@ -178,6 +178,16 @@ public:
|
|||
virtual void resurrect() {}
|
||||
};
|
||||
|
||||
class GFXNullTextureArray : public GFXTextureArray
|
||||
{
|
||||
public:
|
||||
void zombify() override {}
|
||||
void resurrect() override {}
|
||||
void Release() override {}
|
||||
bool fromTextureArray(const Vector<GFXTexHandle> &textureArray) override { return true; }
|
||||
virtual void setToTexUnit(U32 tuNum) { }
|
||||
};
|
||||
|
||||
class GFXNullVertexBuffer : public GFXVertexBuffer
|
||||
{
|
||||
unsigned char* tempBuf;
|
||||
|
|
@ -317,6 +327,11 @@ GFXCubemapArray* GFXNullDevice::createCubemapArray()
|
|||
return new GFXNullCubemapArray();
|
||||
};
|
||||
|
||||
GFXTextureArray* GFXNullDevice::createTextureArray()
|
||||
{
|
||||
return new GFXNullTextureArray();
|
||||
};
|
||||
|
||||
void GFXNullDevice::enumerateAdapters( Vector<GFXAdapter*> &adapterList )
|
||||
{
|
||||
// Add the NULL renderer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue