}
}
+ virtual void Update( BufferIndex /*updateBufferIndex*/, const Node& /*owningNode*/, int /*nodeDirtyFlags*/ )
+ {
+ if (mUpdateRequired)
+ {
+ mUpdateRequired = false;
+ }
+ }
+
protected:
/**
// Undefined
LightAttachment& operator=(const LightAttachment& rhs);
- void Update()
- {
- if (mUpdateRequired)
- {
- mUpdateRequired = false;
- }
- }
-
private:
Internal::LightPtr mLight;
bool mUpdateRequired; ///< This is set to true if the projection matrix requires an update