Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 279 vs 280 for /trunk/Source Code/Graphs/Headers/SceneGraphNode.h

Diff revisions: vs.
  @@ -191,6 +191,15 @@
191 191 template<>
192 192 inline PhysicsComponent* getComponent() { return dynamic_cast<PhysicsComponent*>(_components[SGNComponent::SGN_COMP_PHYSICS]); }
193 193
194 + inline bool getTrackedBool(U8 index) const {
195 + assert(index < 10);
196 + return _trackedBools[index];
197 + }
198 +
199 + inline void setTrackedBool(U8 index, const bool state){
200 + assert(index < 10);
201 + _trackedBools[index] = state;
202 + }
194 203 protected:
195 204 friend class RenderPassCuller;
196 205 inline void inView(const bool isInView) { _inView = isInView; }
  @@ -240,6 +249,8 @@
240 249 NodeComponents _components;
241 250
242 251 Unordered_map<RenderStage, bool> _drawReset;
252 +
253 + bool _trackedBools[10];
243 254 };
244 255
245 256 #endif