Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RPI::MaterialPropertyOutputId Class Reference

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
 

Detailed Description

Represents a specific output data binding for the material property layer.

Member Data Documentation

◆ m_containerIndex

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).

◆ m_itemIndex

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.


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