This feature processor handles static and dynamic non-skinned meshes. More...
#include <TransformServiceFeatureProcessorInterface.h>
Inherits AZ::RPI::FeatureProcessor.
Inherited by AZ::Render::TransformServiceFeatureProcessor.
Public Types | |
using | ObjectId = RHI::Handle< uint32_t, TransformServiceFeatureProcessorInterface > |
Public Member Functions | |
AZ_RTTI (AZ::Render::TransformServiceFeatureProcessorInterface, "{A9099337-AA0F-4F47-8E47-6E7FBA8998D0}", AZ::RPI::FeatureProcessor) | |
virtual ObjectId | ReserveObjectId ()=0 |
Reserves an object ID that can later be sent transform updates. | |
virtual void | ReleaseObjectId (ObjectId &id)=0 |
Releases an object ID to be used by others. The passed in handle is invalidated. | |
virtual void | SetTransformForId (ObjectId id, const AZ::Transform &transform, const AZ::Vector3 &nonUniformScale=AZ::Vector3::CreateOne())=0 |
Sets the transform (and optionally non-uniform scale) for a given id. Id must be one reserved earlier. | |
virtual AZ::Transform | GetTransformForId (ObjectId) const =0 |
Gets the transform for a given id. Id must be one reserved earlier. | |
virtual AZ::Vector3 | GetNonUniformScaleForId (ObjectId id) const =0 |
Gets the non-uniform scale for a given id. Id must be one reserved earlier. | |
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 | 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 () |
Additional Inherited Members | |
Protected Member Functions inherited from AZ::RPI::FeatureProcessor | |
void | EnableSceneNotification () |
void | DisableSceneNotification () |
This feature processor handles static and dynamic non-skinned meshes.
|
pure virtual |
Gets the non-uniform scale for a given id. Id must be one reserved earlier.
Implemented in AZ::Render::TransformServiceFeatureProcessor.
|
pure virtual |
Gets the transform for a given id. Id must be one reserved earlier.
Implemented in AZ::Render::TransformServiceFeatureProcessor.
|
pure virtual |
Releases an object ID to be used by others. The passed in handle is invalidated.
Implemented in AZ::Render::TransformServiceFeatureProcessor.
|
pure virtual |
Reserves an object ID that can later be sent transform updates.
Implemented in AZ::Render::TransformServiceFeatureProcessor.
|
pure virtual |
Sets the transform (and optionally non-uniform scale) for a given id. Id must be one reserved earlier.
Implemented in AZ::Render::TransformServiceFeatureProcessor.