Holds and manages an RHI DispatchItem for a specific skinned mesh, and the resources that are needed to build and maintain it. More...
#include <SkinnedMeshDispatchItem.h>
Inherits SkinnedMeshShaderOptionNotificationBus::Handler.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (SkinnedMeshDispatchItem, AZ::SystemAllocator) | |
SkinnedMeshDispatchItem (AZStd::intrusive_ptr< SkinnedMeshInputBuffers > inputBuffers, const SkinnedMeshOutputVertexOffsets &outputBufferOffsetsInBytes, uint32_t positionHistoryOutputBufferOffsetInBytes, uint32_t lodIndex, uint32_t meshIndex, Data::Instance< RPI::Buffer > skinningMatrices, const SkinnedMeshShaderOptions &shaderOptions, SkinnedMeshFeatureProcessor *skinnedMeshFeatureProcessor, MorphTargetInstanceMetaData morphTargetInstanceMetaData, float morphTargetDeltaIntegerEncoding) | |
Create one dispatch item per mesh for each actor instance. | |
AZ_DISABLE_COPY_MOVE (SkinnedMeshDispatchItem) | |
bool | Init () |
const RHI::DispatchItem & | GetRHIDispatchItem () const |
Data::Instance< RPI::Buffer > | GetBoneTransforms () const |
uint32_t | GetVertexCount () const |
void | Enable () |
void | Disable () |
bool | IsEnabled () const |
Holds and manages an RHI DispatchItem for a specific skinned mesh, and the resources that are needed to build and maintain it.