#include <SkyAtmosphereFeatureProcessor.h>
Inherits AZ::Render::SkyAtmosphereFeatureProcessorInterface.
|
static void | Reflect (AZ::ReflectContext *context) |
|
This feature processor manages drawing sky atmospheres. Use CreateAtmosphere() to create a new atmosphere
◆ Activate()
void AZ::Render::SkyAtmosphereFeatureProcessor::Activate |
( |
| ) |
|
|
overridevirtual |
◆ AddRenderPasses()
void AZ::Render::SkyAtmosphereFeatureProcessor::AddRenderPasses |
( |
RPI::RenderPipeline * |
pipeline | ) |
|
|
overridevirtual |
Add additional render passes to the render pipeline before it's finalized The render pipeline must have m_allowModification set to true (see Scene::TryApplyRenderPipelineChanges() function) This function is called when the render pipeline is added or rebuilt
Reimplemented from AZ::RPI::FeatureProcessor.
◆ CreateAtmosphere()
AtmosphereId AZ::Render::SkyAtmosphereFeatureProcessor::CreateAtmosphere |
( |
| ) |
|
|
overridevirtual |
◆ Deactivate()
void AZ::Render::SkyAtmosphereFeatureProcessor::Deactivate |
( |
| ) |
|
|
overridevirtual |
◆ GetAtmosphereEnabled()
bool AZ::Render::SkyAtmosphereFeatureProcessor::GetAtmosphereEnabled |
( |
AtmosphereId |
id | ) |
|
|
overridevirtual |
◆ ReleaseAtmosphere()
void AZ::Render::SkyAtmosphereFeatureProcessor::ReleaseAtmosphere |
( |
AtmosphereId |
id | ) |
|
|
overridevirtual |
◆ Render()
void AZ::Render::SkyAtmosphereFeatureProcessor::Render |
( |
const RenderPacket & |
| ) |
|
|
overridevirtual |
The feature processor should enqueue draw packets to relevant draw lists.
- This is called every frame.
- This may be called in parallel with other feature processors.
- This may be called in parallel with culling
Reimplemented from AZ::RPI::FeatureProcessor.
◆ SetAtmosphereEnabled()
void AZ::Render::SkyAtmosphereFeatureProcessor::SetAtmosphereEnabled |
( |
AtmosphereId |
id, |
|
|
bool |
enabled |
|
) |
| |
|
overridevirtual |
◆ SetAtmosphereParams()
The documentation for this class was generated from the following file:
- Gems/Atom/Feature/Common/Code/Source/SkyAtmosphere/SkyAtmosphereFeatureProcessor.h