mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
Fix for Issue #132 for RenderOcclusionMgr Rendering
This commit is contained in:
parent
74cbcb3e85
commit
6637948067
2 changed files with 66 additions and 71 deletions
|
|
@ -26,6 +26,10 @@
|
|||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
|
||||
class Material;
|
||||
class BaseMatInstance;
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// RenderOcclusionMgr
|
||||
//**************************************************************************
|
||||
|
|
@ -46,15 +50,17 @@ public:
|
|||
DECLARE_CONOBJECT(RenderOcclusionMgr);
|
||||
|
||||
protected:
|
||||
BaseMatInstance* mOverrideMat;
|
||||
GFXStateBlockRef mNormalSB;
|
||||
GFXStateBlockRef mRenderSB;
|
||||
GFXStateBlockRef mTestSB;
|
||||
|
||||
GFXStateBlockRef mDebugSB;
|
||||
|
||||
/// The material for rendering occluders.
|
||||
SimObjectPtr<Material> mMaterial;
|
||||
BaseMatInstance *mMatInstance;
|
||||
|
||||
static bool smDebugRender;
|
||||
|
||||
GFXVertexBufferHandle<GFXVertexPC> mBoxBuff;
|
||||
GFXVertexBufferHandle<GFXVertexPC> mSphereBuff;
|
||||
GFXVertexBufferHandle<GFXVertexP> mBoxBuff;
|
||||
GFXVertexBufferHandle<GFXVertexP> mSphereBuff;
|
||||
U32 mSpherePrimCount;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue