![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IResourceMeshCuller graph node interface.
This interface represents a specialized Graph::ICuller node that takes additional information about the scene to be rendered; here, the necessary information must be present in a given Resource::IMesh object.
Resource::IMesh objects can contain different types of structural information, like a tree of bounding volumes or a BSP tree. This interface does not explicitly require a specific type; however, e.g. a Graph::ResourceBspCuller demands the presence of a BSP tree for culling.
See also Graph::IResourceMeshCollider.
Get the constant Graph::INode interface. This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
Murl.Graph.INode GetNodeInterface()
Get the constant Graph::ICuller interface. This method returns a mutable pointer to the node's Graph::ICuller interface, to be able to query the node's basic culler properties.
Murl.Graph.ICuller GetCullerInterface()
Get a constant Graph::IMeshResourceTarget container. This method returns a constant pointer to a Graph::IMeshResourceTarget container, which allows to query the mesh resources referenced by a node implementing this interface.
Murl.Graph.IGenericResourceTarget.ResourceIMesh GetMeshResourceTarget()