#include <HairDispatchItem.h>
Inherits Data::InstanceData.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (HairDispatchItem, AZ::SystemAllocator) | |
~HairDispatchItem () | |
void | InitSkinningDispatch (RPI::Shader *shader, RPI::ShaderResourceGroup *hairGenerationSrg, RPI::ShaderResourceGroup *hairSimSrg, uint32_t elementsAmount) |
RHI::DispatchItem * | GetDispatchItem () |
Holds and manages an RHI DispatchItem for a specific skinned mesh, and the resources that are needed to build and maintain it.
AZ::Render::Hair::HairDispatchItem::~HairDispatchItem | ( | ) |
One dispatch item per hair object per computer pass. The amount of dispatches depends on the amount of vertices required to be created