Inherited by AZ::Render::ModelDataInstance [private].
|
|
class | MeshFeatureProcessor |
| |
|
class | MeshLoader |
| |
◆ MeshDrawPacketUpdatedEvent
Event that let's us know whenever one of the MeshDrawPackets has been updated. This event can occur on multiple threads. Provides the ModelDataInstance parent object that owns the MeshDrawPacket.
◆ ConnectMeshDrawPacketUpdatedHandler()
| virtual void AZ::Render::ModelDataInstanceInterface::ConnectMeshDrawPacketUpdatedHandler |
( |
MeshDrawPacketUpdatedEvent::Handler & |
handler | ) |
|
|
pure virtual |
Connects @handler to the MeshDrawPacketUpdatedEvent. One of the most common reasons a MeshDrawPacket gets updated is when a RenderPipeline is instantiated at runtime and it happens to contain a RasterPass with a DrawListTag that matches one of the Shaders of one of the Materials in a Mesh. Another scenario is when Shader assets or Material assets are reloaded.
Implemented in AZ::Render::ModelDataInstance.
◆ GetProductModelAsset()
If this is a skinned mesh, ProductModelAssetId is the asset-id of the original, non-animated asset. Returns a invalid Asset for non-skinned meshes.
Implemented in AZ::Render::ModelDataInstance.
◆ HandleDrawPacketUpdate()
| virtual void AZ::Render::ModelDataInstanceInterface::HandleDrawPacketUpdate |
( |
uint32_t |
lodIndex, |
|
|
uint32_t |
meshIndex, |
|
|
RPI::MeshDrawPacket & |
meshDrawPacket |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file:
- Gems/Atom/Feature/Common/Code/Include/Atom/Feature/Mesh/MeshFeatureProcessorInterface.h