Murl Engine API  Version 2024.1
Murl::Graph::IVertexBufferNode Interface Referenceabstract

The IVertexBufferNode graph node interface. More...

#include <murl_graph_i_vertex_buffer_node.h>

Detailed Description

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.

Inheritance diagram for Murl::Graph::IVertexBufferNode:
Murl::Graph::VertexBufferNode

Public Member Functions

virtual INodeGetNodeInterface ()=0
 Get the mutable Graph::INode interface. More...
 
virtual const INodeGetNodeInterface () const =0
 Get the constant Graph::INode interface. More...
 
virtual IVertexBufferGetVertexBufferInterface ()=0
 Get the mutable Graph::IVertexBuffer interface. More...
 
virtual const IVertexBufferGetVertexBufferInterface () const =0
 Get the constant Graph::IVertexBuffer interface. More...
 

Member Function Documentation

◆ GetNodeInterface() [1/2]

virtual INode* Murl::Graph::IVertexBufferNode::GetNodeInterface ( )
pure virtual

Get the mutable Graph::INode interface.

This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.

Returns
The mutable Graph::INode interface, or null if not available

◆ GetNodeInterface() [2/2]

virtual const INode* Murl::Graph::IVertexBufferNode::GetNodeInterface ( ) const
pure virtual

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.

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

◆ GetVertexBufferInterface() [1/2]

virtual IVertexBuffer* Murl::Graph::IVertexBufferNode::GetVertexBufferInterface ( )
pure virtual

Get the mutable Graph::IVertexBuffer interface.

This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.

Returns
The mutable Graph::INode interface, or null if not available

◆ GetVertexBufferInterface() [2/2]

virtual const IVertexBuffer* Murl::Graph::IVertexBufferNode::GetVertexBufferInterface ( ) const
pure virtual

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.

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

The documentation for this interface was generated from the following file: