Murl::Graph::IGenericParameter Interface Referenceabstract

The IGenericParameter graph node interface. More...

#include "murl_graph_i_generic_parameter.h"

Inheritance diagram for Murl::Graph::IGenericParameter:

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 IConstantBufferParameterGetConstantBufferParameterInterface ()=0
 Get the mutable Graph::IConstantBufferParameter interface. More...
 
virtual const IConstantBufferParameterGetConstantBufferParameterInterface () const =0
 Get the constant Graph::IConstantBufferParameter interface. More...
 
virtual Bool SetType (IEnums::UniformType type)=0
 Set the actual uniform variable data type. More...
 

Detailed Description

The IGenericParameter graph node interface.

A generic parameter represents a specialized constant buffer parameter, and can be used to manually define a single shader parameter without any connection to a specific shader.

See the Graph::IConstantBufferParameterGroup base interface for additional information.

Member Function Documentation

◆ GetNodeInterface() [1/2]

virtual INode* Murl::Graph::IGenericParameter::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::IGenericParameter::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

◆ GetConstantBufferParameterInterface() [1/2]

virtual IConstantBufferParameter* Murl::Graph::IGenericParameter::GetConstantBufferParameterInterface ( )
pure virtual

Get the mutable Graph::IConstantBufferParameter interface.

This method returns a mutable pointer to the node's Graph::IConstantBufferParameter interface.

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

◆ GetConstantBufferParameterInterface() [2/2]

virtual const IConstantBufferParameter* Murl::Graph::IGenericParameter::GetConstantBufferParameterInterface ( ) const
pure virtual

Get the constant Graph::IConstantBufferParameter interface.

This method returns a constant pointer to the node's Graph::IConstantBufferParameter interface.

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

◆ SetType()

virtual Bool Murl::Graph::IGenericParameter::SetType ( IEnums::UniformType  type)
pure virtual

Set the actual uniform variable data type.

Once initialized, the variable name cannot be changed.

Parameters
typeThe uniform data type.
Returns
true if successful.

The documentation for this interface was generated from the following file:
  • murl_graph_i_generic_parameter.h


Copyright © 2011-2024 Spraylight GmbH.