![]() |
Murl Engine API
Version 2018.3
|
The ITextureStateCopy graph node interface. More...
#include <murl_graph_i_texture_state_copy.h>
The ITextureStateCopy graph node interface.
Nodes implementing this interface provide a means to copy the current texture state assignment (performed via an IMaterialState node) at a given source slot and unit to a given destination slot and unit.
See Graph::ITextureState for additional details.
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 Bool | SetSourceSlot (SInt32 slot)=0 |
Set the source slot to copy the state assignment from. More... | |
virtual SInt32 | GetSourceSlot () const =0 |
Get the source slot to copy the state assignment from. More... | |
virtual Bool | SetSourceUnit (UInt32 unit)=0 |
Set the source unit to copy the state assignment from. More... | |
virtual UInt32 | GetSourceUnit () const =0 |
Get the source unit to copy the state assignment from. More... | |
![]() | |
virtual Bool | SetSlot (SInt32 slot)=0 |
Set the slot index to use. More... | |
virtual SInt32 | GetSlot () const =0 |
Get the slot index to use. More... | |
![]() | |
virtual Bool | SetUnit (UInt32 unit)=0 |
Set the unit index to use. More... | |
virtual UInt32 | GetUnit () const =0 |
Get the unit index to use. More... | |
|
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.
|
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.
Set the source slot to copy the state assignment from.
slot | The source slot, from 0 to IEnums::NUM_TEXTURE_SLOTS-1. |
|
pure virtual |
Get the source slot to copy the state assignment from.
Set the source unit to copy the state assignment from.
unit | The source unit, from 0 to IEnums::NUM_TEXTURE_UNITS-1. |
|
pure virtual |
Get the source unit to copy the state assignment from.