#include <SkyAtmosphereFeatureProcessor.h>
Inherits AZ::Render::SkyAtmosphereFeatureProcessorInterface.
|
| AZ_RTTI (AZ::Render::SkyAtmosphereFeatureProcessor, "{FB3155E9-BA3C-487B-B251-EB4BF3465E02}", AZ::Render::SkyAtmosphereFeatureProcessorInterface) |
|
void | Activate () override |
| FeatureProcessor.
|
|
void | Deactivate () override |
| Perform any necessary deactivation.
|
|
void | AddRenderPasses (RPI::RenderPipeline *renderPipeline) override |
|
void | Render (const RenderPacket &packet) override |
|
AtmosphereId | CreateAtmosphere () override |
| SkyAtmosphereFeatureProcessorInterface.
|
|
void | ReleaseAtmosphere (AtmosphereId id) override |
|
void | SetAtmosphereParams (AtmosphereId id, const SkyAtmosphereParams ¶ms) override |
|
void | SetAtmosphereEnabled (AtmosphereId id, bool enabled) override |
|
bool | GetAtmosphereEnabled (AtmosphereId id) override |
|
| AZ_RTTI (AZ::Render::SkyAtmosphereFeatureProcessorInterface, "{00C9FD3D-2A1B-49EA-97E3-952EF6C1C451}") |
|
virtual AtmosphereId | CreateAtmosphere ()=0 |
|
virtual void | ReleaseAtmosphere (AtmosphereId id)=0 |
|
virtual void | SetAtmosphereParams (AtmosphereId id, const SkyAtmosphereParams ¶ms)=0 |
|
virtual void | SetAtmosphereEnabled (AtmosphereId id, bool enabled)=0 |
|
virtual bool | GetAtmosphereEnabled (AtmosphereId id)=0 |
|
| AZ_RTTI (FeatureProcessor, "{B8027170-C65C-4237-964D-B557FC9D7575}") |
|
| AZ_CLASS_ALLOCATOR (FeatureProcessor, AZ::SystemAllocator) |
|
Scene * | GetParentScene () const |
|
virtual void | Activate () |
| Perform any necessary activation and gives access to owning Scene.
|
|
virtual void | Deactivate () |
| Perform any necessary deactivation.
|
|
virtual void | ApplyRenderPipelineChange (RenderPipeline *pipeline) |
|
virtual void | AddRenderPasses (RenderPipeline *pipeline) |
|
virtual void | PrepareViews (const PrepareViewsPacket &, AZStd::vector< AZStd::pair< PipelineViewTag, ViewPtr > > &) |
|
virtual void | Simulate (const SimulatePacket &) |
|
virtual void | Render (const RenderPacket &) |
|
virtual void | OnEndCulling (const RenderPacket &) |
|
virtual void | OnRenderEnd () |
|
|
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