The IConstantBufferParameters graph node interface. More...
#include "murl_graph_i_constant_buffer_parameters.h"
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual IParameters * | GetParametersInterface ()=0 |
Get the mutable Graph::IParameters interface. More... | |
virtual const IParameters * | GetParametersInterface () const =0 |
Get the constant Graph::IParameters interface. More... | |
virtual UInt32 | GetConstantBufferParametersFlags () const =0 |
Get current flags. More... | |
Public Member Functions inherited from Murl::Graph::IConstantBufferContainer | |
virtual SInt32 | AddConstantBuffer (IEnums::ConstantBufferItem item)=0 |
Add a constant buffer with predefined semantics. More... | |
virtual SInt32 | AddConstantBuffer (const String &name)=0 |
Add a constant buffer with custom semantics. More... | |
virtual SInt32 | GetConstantBufferIndex (IEnums::ConstantBufferItem item) const =0 |
Query the location of a predefined constant buffer in the container. More... | |
virtual SInt32 | GetConstantBufferIndex (const String &name) const =0 |
Query the location of a constant buffer with custom semantics. More... | |
virtual UInt32 | GetNumberOfConstantBuffers () const =0 |
Get the total number of individual constant buffers in the container. More... | |
virtual IEnums::ConstantBufferItem | GetConstantBufferItem (UInt32 index) const =0 |
Query the predefined semantic item of a constant buffer at a given index. More... | |
virtual const String & | GetConstantBufferName (UInt32 index) const =0 |
Query the semantic name of a constant buffer at a given index. More... | |
virtual IConstantBuffer * | GetConstantBuffer (UInt32 index) const =0 |
Get the constant buffer object at a given index. More... | |
Detailed Description
The IConstantBufferParameters graph node interface.
The IConstantBufferParameters provides a means to define custom material parameters present in one or more uniform buffers.
Use the Graph::IConstantBufferContainer base interface to define, set or query user-defined parameter groups.
See the Graph::IConstantBufferParameterGroup interface for defining individual groups. See the Graph::IParameters base interface for additional information.
Member Function Documentation
◆ GetNodeInterface() [1/2]
|
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]
|
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
◆ GetParametersInterface() [1/2]
|
pure virtual |
Get the mutable Graph::IParameters interface.
This method returns a mutable pointer to the node's Graph::IParameters interface, to be able to query or modify common parameter properties.
- Returns
- The mutable Graph::IParameters interface, or null if not available
◆ GetParametersInterface() [2/2]
|
pure virtual |
Get the constant Graph::IParameters interface.
This method returns a constant pointer to the node's Graph::IParameters interface, to be able to query common parameter properties.
- Returns
- The constant Graph::IParameters interface, or null if not available
◆ GetConstantBufferParametersFlags()
|
pure virtual |
Get current flags.
- Returns
- A bit mask made up from individual GenericParametersFlags values.
The documentation for this interface was generated from the following file:
- murl_graph_i_constant_buffer_parameters.h