Represents a specific output data binding for the material property layer. More...
#include <MaterialPropertyDescriptor.h>
Static Public Member Functions | |
static void | Reflect (ReflectContext *context) |
Public Attributes | |
MaterialPropertyOutputType | m_type = MaterialPropertyOutputType::Invalid |
Name | m_materialPipelineName |
RHI::Handle< uint32_t > | m_containerIndex |
RHI::Handle< uint32_t > | m_itemIndex |
Represents a specific output data binding for the material property layer.
RHI::Handle<uint32_t> AZ::RPI::MaterialPropertyOutputId::m_containerIndex |
For m_type==ShaderOption, this is the index of a specific ShaderAsset (see MaterialTypeSourceData's ShaderCollection). For m_type==ShaderEnabled, this is the index of a specific ShaderAsset (see MaterialTypeSourceData's ShaderCollection). For m_type==ShaderInput, this field is not used (because there is only one material ShaderResourceGroup in a MaterialAsset).
RHI::Handle<uint32_t> AZ::RPI::MaterialPropertyOutputId::m_itemIndex |
Index to the specific setting that the material property maps to. The MaterialPropertyDataType, MaterialPropertyOutputType, and m_containerIndex determine which list this refers to.