Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 264 vs 273 for /trunk/Source Code/Graphs/Headers/SceneNodeRenderState.h

Diff revisions: vs.
  @@ -8,8 +8,8 @@
8 8 SceneNodeRenderState() : _drawState(true),
9 9 _noDefaultMaterial(false),
10 10 _exclusionMask(0),
11 - _depthStateBlock(nullptr),
12 - _shadowStateBlock(nullptr),
11 + _depthStateBlockHash(0),
12 + _shadowStateBlockHash(0),
13 13 _isVisible(true),
14 14 _hasWaterReflection(true)
15 15 {
  @@ -23,8 +23,8 @@
23 23 bool getDrawState(const RenderStage& currentStage) const;
24 24 void addToDrawExclusionMask(U32 stageMask);
25 25 void removeFromDrawExclusionMask(U32 stageMask);
26 - const RenderStateBlock& getDepthStateBlock();
27 - const RenderStateBlock& getShadowStateBlock();
26 + I64 getDepthStateBlock();
27 + I64 getShadowStateBlock();
28 28
29 29 protected:
30 30 friend class SceneNode;
  @@ -34,8 +34,8 @@
34 34 bool _noDefaultMaterial;
35 35 U32 _exclusionMask;
36 36
37 - RenderStateBlock* _depthStateBlock;
38 - RenderStateBlock* _shadowStateBlock;
37 + I64 _depthStateBlockHash;
38 + I64 _shadowStateBlockHash;
39 39 };
40 40
41 41 #endif