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::MaterialTypeSourceData::ShaderVariantReferenceData Struct Reference

Public Member Functions

 AZ_TYPE_INFO (AZ::RPI::MaterialTypeSourceData::ShaderVariantReferenceData, "{927F3AAE-C0A9-4B79-B773-A97211E4E514}")
 
 ShaderVariantReferenceData (AZStd::string_view shaderFilePath)
 

Public Attributes

AZStd::string m_shaderFilePath
 Path to a ".shader" file, relative to the asset root.
 
AZ::Name m_shaderTag
 Unique tag to identify the shader, particularly in lua functors.
 
ShaderOptionValuesSourceData m_shaderOptionValues
 

Member Data Documentation

◆ m_shaderOptionValues

ShaderOptionValuesSourceData AZ::RPI::MaterialTypeSourceData::ShaderVariantReferenceData::m_shaderOptionValues

This list provides a way for users to set shader option values in a 'hard-coded' way rather than connecting them to material properties. These are optional and the list will usually be empty; most options will either get set from a material property connection, or will use the default value from the shader.


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