Inherits AZ::Render::DecalFeatureProcessorInterface, and AZ::Data::AssetBus::MultiHandler.
Public Member Functions | |
| AZ_RTTI (AZ::Render::DecalTextureArrayFeatureProcessor, "{5E8365FA-BEA7-4D02-9A5C-67E6810D5465}", AZ::Render::DecalFeatureProcessorInterface) | |
| DecalTextureArrayFeatureProcessor (const DecalTextureArrayFeatureProcessor &)=delete | |
| DecalTextureArrayFeatureProcessor & | operator= (const DecalTextureArrayFeatureProcessor &)=delete |
| void | Activate () override |
| Perform any necessary activation and gives access to owning Scene. | |
| void | Deactivate () override |
| Perform any necessary deactivation. | |
| void | Simulate (const RPI::FeatureProcessor::SimulatePacket &packet) override |
| void | Render (const RPI::FeatureProcessor::RenderPacket &packet) override |
| DecalHandle | AcquireDecal () override |
| Creates a new decal which can be referenced by the returned DecalHandle. Must be released via ReleaseDecal() when no longer needed. | |
| bool | ReleaseDecal (const DecalHandle handle) override |
| Releases a Decal. | |
| DecalHandle | CloneDecal (const DecalHandle handle) override |
| Creates a new Decal by copying data from an existing DecalHandle. | |
| void | SetDecalData (const DecalHandle handle, const DecalData &data) override |
| Sets all of the the decal data for the provided DecalHandle. | |
| const Data::Instance< RPI::Buffer > | GetDecalBuffer () const override |
| Returns a GPU readable buffer containing the contiguous array of decals. | |
| uint32_t | GetDecalCount () const override |
| Returns the number of decals currently in the buffer. | |
| void | SetDecalPosition (const DecalHandle handle, const AZ::Vector3 &position) override |
| Sets the position of the decal. | |
| void | SetDecalColor (const DecalHandle handle, const AZ::Vector3 &color) override |
| Sets the color of the decal. | |
| void | SetDecalColorFactor (const DecalHandle handle, float colorFactor) override |
| Sets the factor for the decal color. | |
| void | SetDecalOrientation (const DecalHandle handle, const AZ::Quaternion &orientation) override |
| Sets the orientation of the decal. | |
| void | SetDecalHalfSize (const DecalHandle handle, const Vector3 &size) override |
| Sets the half size of the decal. | |
| void | SetDecalAttenuationAngle (const DecalHandle handle, float angleAttenuation) override |
| Sets the angle attenuation of the decal. Increasing this increases the transparency as the angle between the decal and geometry gets larger. | |
| void | SetDecalOpacity (const DecalHandle handle, float opacity) override |
| Sets the opacity of the decal. | |
| void | SetDecalNormalMapOpacity (const DecalHandle handle, float opacity) override |
| Sets the opacity of the normal map of the decal. | |
| void | SetDecalSortKey (const DecalHandle handle, uint8_t sortKey) override |
| Sets the decal sort key. Decals with a larger sort key appear over top of smaller sort keys. | |
| void | SetDecalMaterial (const DecalHandle handle, const AZ::Data::AssetId id) override |
| Sets the material information for this decal. | |
| void | OnRenderPipelinePersistentViewChanged (RPI::RenderPipeline *renderPipeline, RPI::PipelineViewTag viewTag, RPI::ViewPtr newView, RPI::ViewPtr previousView) override |
| void | SetDecalTransform (const DecalHandle handle, const AZ::Transform &world) override |
| void | SetDecalTransform (const DecalHandle handle, const AZ::Transform &world, const AZ::Vector3 &nonUniformScale) override |
Public Member Functions inherited from AZ::Render::DecalFeatureProcessorInterface | |
| AZ_RTTI (AZ::Render::DecalFeatureProcessorInterface, "{4A64E427-7F9F-4AF7-B414-69EA91323827}", AZ::RPI::FeatureProcessor) | |
Public Member Functions inherited from AZ::RPI::FeatureProcessor | |
| AZ_RTTI (FeatureProcessor, "{B8027170-C65C-4237-964D-B557FC9D7575}") | |
| AZ_CLASS_ALLOCATOR (FeatureProcessor, AZ::SystemAllocator) | |
| Scene * | GetParentScene () const |
| virtual void | ApplyRenderPipelineChange (RenderPipeline *pipeline) |
| virtual void | AddRenderPasses (RenderPipeline *pipeline) |
| virtual void | PrepareViews (const PrepareViewsPacket &, AZStd::vector< AZStd::pair< PipelineViewTag, ViewPtr > > &) |
| virtual void | OnEndCulling (const RenderPacket &) |
| virtual void | OnRenderEnd () |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *context) |
Additional Inherited Members | |
Public Types inherited from AZ::Render::DecalFeatureProcessorInterface | |
| using | DecalHandle = RHI::Handle< uint16_t, class Decal > |
Protected Member Functions inherited from AZ::RPI::FeatureProcessor | |
| void | EnableSceneNotification () |
| void | DisableSceneNotification () |
|
overridevirtual |
Creates a new decal which can be referenced by the returned DecalHandle. Must be released via ReleaseDecal() when no longer needed.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Perform any necessary activation and gives access to owning Scene.
Reimplemented from AZ::RPI::FeatureProcessor.
|
overridevirtual |
Creates a new Decal by copying data from an existing DecalHandle.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Perform any necessary deactivation.
Reimplemented from AZ::RPI::FeatureProcessor.
|
overridevirtual |
Returns a GPU readable buffer containing the contiguous array of decals.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Returns the number of decals currently in the buffer.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Releases a Decal.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
The feature processor should enqueue draw packets to relevant draw lists.
Reimplemented from AZ::RPI::FeatureProcessor.
|
overridevirtual |
Sets the angle attenuation of the decal. Increasing this increases the transparency as the angle between the decal and geometry gets larger.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the color of the decal.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the factor for the decal color.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets all of the the decal data for the provided DecalHandle.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the half size of the decal.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the material information for this decal.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the opacity of the normal map of the decal.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the opacity of the decal.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the orientation of the decal.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the position of the decal.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the decal sort key. Decals with a larger sort key appear over top of smaller sort keys.
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Sets the transform of the decal Equivalent to calling SetDecalPosition() + SetDecalOrientation() + SetDecalHalfSize()
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
Implements AZ::Render::DecalFeatureProcessorInterface.
|
overridevirtual |
The feature processor should perform any internal simulation at this point - For instance, updating a particle system or animation. Not every feature processor will need to implement this.
Reimplemented from AZ::RPI::FeatureProcessor.