mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
GL work
This commit is contained in:
parent
c025760422
commit
000c7b2263
21 changed files with 4102 additions and 108 deletions
|
|
@ -39,6 +39,7 @@ class GFXGLVertexBuffer;
|
|||
class GFXGLPrimitiveBuffer;
|
||||
class GFXGLTextureTarget;
|
||||
class GFXGLCubemap;
|
||||
class GFXGLCubemapArray;
|
||||
class GFXGLStateCache;
|
||||
class GFXGLVertexDecl;
|
||||
|
||||
|
|
@ -81,7 +82,7 @@ public:
|
|||
virtual U32 getTotalVideoMemory();
|
||||
|
||||
virtual GFXCubemap * createCubemap();
|
||||
virtual GFXCubemapArray *createCubemapArray() { return NULL; } //TODO: implement
|
||||
virtual GFXCubemapArray *createCubemapArray();
|
||||
|
||||
virtual F32 getFillConventionOffset() const { return 0.0f; }
|
||||
|
||||
|
|
@ -170,7 +171,8 @@ protected:
|
|||
virtual void setShaderConstBufferInternal(GFXShaderConstBuffer* buffer);
|
||||
|
||||
virtual void setTextureInternal(U32 textureUnit, const GFXTextureObject*texture);
|
||||
virtual void setCubemapInternal(U32 cubemap, const GFXGLCubemap* texture);
|
||||
virtual void setCubemapInternal(U32 textureUnit, const GFXGLCubemap* texture);
|
||||
virtual void setCubemapArrayInternal(U32 textureUnit, const GFXGLCubemapArray* texture);
|
||||
|
||||
virtual void setLightInternal(U32 lightStage, const GFXLightInfo light, bool lightEnable);
|
||||
virtual void setLightMaterialInternal(const GFXLightMaterial mat);
|
||||
|
|
@ -207,11 +209,12 @@ private:
|
|||
|
||||
friend class GFXGLTextureObject;
|
||||
friend class GFXGLCubemap;
|
||||
friend class GFXGLCubemapArray;
|
||||
friend class GFXGLWindowTarget;
|
||||
friend class GFXGLPrimitiveBuffer;
|
||||
friend class GFXGLVertexBuffer;
|
||||
|
||||
static GFXAdapter::CreateDeviceInstanceDelegate mCreateDeviceInstance;
|
||||
static GFXAdapter::CreateDeviceInstanceDelegate mCreateDeviceInstance;
|
||||
|
||||
U32 mAdapterIndex;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue