mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
Add OpenGL support.
This commit is contained in:
parent
c354f59b72
commit
dd08fd2e7d
55 changed files with 2957 additions and 802 deletions
|
|
@ -25,6 +25,11 @@
|
|||
|
||||
#include "gfx/gfxStateBlock.h"
|
||||
|
||||
namespace DictHash
|
||||
{
|
||||
U32 hash(const GFXSamplerStateDesc &data);
|
||||
}
|
||||
|
||||
class GFXGLStateBlock : public GFXStateBlock
|
||||
{
|
||||
public:
|
||||
|
|
@ -58,6 +63,7 @@ public:
|
|||
private:
|
||||
GFXStateBlockDesc mDesc;
|
||||
U32 mCachedHashValue;
|
||||
U32 mSamplerObjects[TEXTURE_STAGE_COUNT];
|
||||
};
|
||||
|
||||
typedef StrongRefPtr<GFXGLStateBlock> GFXGLStateBlockRef;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue