Murl Engine Lua Addon API  Version 1.0 beta
Murl.Graph.IResourceMeshCuller

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.


Table members

Methods


GetNodeInterface()

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()

Returns
Murl.Graph.INode The constant Graph::INode interface, or null if not available

GetCullerInterface()

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()

Returns
Murl.Graph.ICuller The constant Graph::ICuller interface, or null if not available

GetMeshResourceTarget()

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()

Returns
Murl.Graph.IGenericResourceTarget.ResourceIMesh The constant Graph::IMeshResourceTarget container, or null if not available