|
|
| AZ_TYPE_INFO (Item, "{64C7F381-3313-46E8-B23B-D7AA9A915F35}") |
| |
|
| Item () |
| | Required for use in containers; not meant to be called directly.
|
| |
| | Item (const Data::Asset< ShaderAsset > &shaderAsset, const AZ::Name &shaderTag, DrawItemType drawItemType=DrawItemType::Raster, ShaderVariantId variantId=ShaderVariantId{}) |
| |
|
| Item (Data::Asset< ShaderAsset > &&shaderAsset, const AZ::Name &shaderTag, DrawItemType drawItemType=DrawItemType::Raster, ShaderVariantId variantId=ShaderVariantId{}) |
| |
|
const Data::Asset< ShaderAsset > & | GetShaderAsset () const |
| |
|
const ShaderVariantId & | GetShaderVariantId () const |
| | Return the ID of the shader variant to be used, based on the configured shader options.
|
| |
|
const AZ::Data::AssetId & | GetShaderAssetId () const |
| | Returns the asset id associated to this shader item.
|
| |
|
const AZ::RPI::ShaderOptionGroup & | GetShaderOptionGroup () const |
| |
|
const ShaderOptionGroup * | GetShaderOptions () const |
| | Return the set of shader options used to select a specific shader variant.
|
| |
|
ShaderOptionGroup * | GetShaderOptions () |
| |
| bool | MaterialOwnsShaderOption (const AZ::Name &shaderOptionName) const |
| |
|
bool | MaterialOwnsShaderOption (ShaderOptionIndex shaderOptionIndex) const |
| |
|
const RHI::RenderStates * | GetRenderStatesOverlay () const |
| | Return the runtime render states overlay. Properties that are not overwritten are invalid.
|
| |
|
RHI::RenderStates * | GetRenderStatesOverlay () |
| |
|
RHI::DrawListTag | GetDrawListTagOverride () const |
| | Return the runtime draw list tag override.
|
| |
|
void | SetDrawListTagOverride (RHI::DrawListTag drawList) |
| | Set the runtime draw list tag.
|
| |
|
void | SetDrawListTagOverride (const AZ::Name &drawListName) |
| |
|
void | SetEnabled (bool enabled) |
| | Controls whether this shader/pass will be used for rendering a material.
|
| |
|
bool | IsEnabled () const |
| |
|
const AZ::Name & | GetShaderTag () const |
| | Returns the shader tag used to identify this item.
|
| |
| void | TryReplaceShaderAsset (const Data::Asset< ShaderAsset > &newShaderAsset) |
| |
|
bool | InitializeShaderOptionGroup () |
| |
|
DrawItemType | GetDrawItemType () const |
| |
Contains shader asset and configures how that shader should be used at runtime, especially which variant of the shader to use.