Eidolon
|
#include <OgreRenderTypes.h>
Public Member Functions | |
ResourceOp (std::string parentname="") | |
virtual void | op () |
Before each render operation, this method is called for every ResourceOp object the renderer stores, the object is deleted. More... | |
Public Attributes | |
std::string | parentname |
Name of parent object which created this op and whose internal state is associated with it. More... | |
Base class used by specializations with the renderer to destroy and update resources within the render cycle. The name of the creating object should be passed in the constructor for operations which might be performed after an object has been deleted. Objects who may have operations pending when their destructors are called can remove them from the queue using the OgreRenderScene::removeResourceOp() method in their destructors with their own names as the argument; this will ensure any operation with that name as its `parentname' field will be removed before being called.
|
inline |
|
inlinevirtual |
Before each render operation, this method is called for every ResourceOp object the renderer stores, the object is deleted.
Reimplemented in DestroySceneNodeOp, RemoveResourceOp< M >, and CommitOp< T >.
std::string parentname |
Name of parent object which created this op and whose internal state is associated with it.