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::Render::PostProcessingShaderOptionBase Class Reference

This class provides common code to use shader option. More...

#include <PostProcessingShaderOptionBase.h>

Inherited by AZ::Render::DepthOfFieldBokehBlurPass, AZ::Render::DepthOfFieldCompositePass, AZ::Render::LookModificationCompositePass, and AZ::Render::OutputTransformPass.

Protected Member Functions

void PreloadShaderVariant (const Data::Instance< AZ::RPI::Shader > &shader, const RPI::ShaderOptionGroup &shaderOption, const RHI::RenderAttachmentConfiguration &renderAttachmentConfiguration, const RHI::MultisampleState &multisampleState)
 Creates the PSO for ShaderOption and save it as a cache.
 
void UpdateShaderVariant (const AZ::RPI::ShaderOptionGroup &shaderOption)
 Update shaderVariant. Used when the shader is switched.
 
void CompileShaderVariant (Data::Instance< AZ::RPI::ShaderResourceGroup > &shaderResourceGroup)
 Set a key in the SRG for dynamic branching for shaders not created in advance.
 
const AZ::RHI::PipelineStateGetPipelineStateFromShaderVariant () const
 Get precomputed pipeline.
 

Detailed Description

This class provides common code to use shader option.


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