Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::SkinnedMeshDispatchItem Class Reference

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::DispatchItemGetRHIDispatchItem () const
 
Data::Instance< RPI::BufferGetBoneTransforms () const
 
uint32_t GetVertexCount () const
 
void Enable ()
 
void Disable ()
 
bool IsEnabled () const
 

Detailed Description

Holds and manages an RHI DispatchItem for a specific skinned mesh, and the resources that are needed to build and maintain it.


The documentation for this class was generated from the following file: