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

The IVertexBufferNode graph node interface.

This interface represents a generic geometry object for rendering, composed of a vertex buffer holding individual vertices with different attributes, and an index buffer holding a sequence of indices into that vertex buffer.

Use the Graph::IVertexBuffer and Graph::IIndexBuffer base interfaces to access the underlying vertex and index data, respectively.


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

GetVertexBufferInterface()

Get the constant Graph::IVertexBuffer 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.IVertexBuffer GetVertexBufferInterface()

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