Inherits AZ::Render::ModelDataInstanceInterface.
|
|
class | MeshFeatureProcessor |
| |
|
class | MeshLoader |
| |
◆ ConnectMeshDrawPacketUpdatedHandler()
| void AZ::Render::ModelDataInstance::ConnectMeshDrawPacketUpdatedHandler |
( |
MeshDrawPacketUpdatedEvent::Handler & |
handler | ) |
|
|
overridevirtual |
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.
Implements AZ::Render::ModelDataInstanceInterface.
◆ GetCullable()
| const RPI::Cullable & AZ::Render::ModelDataInstance::GetCullable |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetCustomMaterialWithFallback()
| CustomMaterialInfo AZ::Render::ModelDataInstance::GetCustomMaterialWithFallback |
( |
const CustomMaterialId & |
id | ) |
const |
|
overridevirtual |
◆ GetLightingChannelMask()
| const uint32_t AZ::Render::ModelDataInstance::GetLightingChannelMask |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetMeshInfoHandle()
| MeshInfoHandle AZ::Render::ModelDataInstance::GetMeshInfoHandle |
( |
size_t |
modelLodIndex, |
|
|
size_t |
meshIndex |
|
) |
| const |
|
overridevirtual |
◆ GetMeshInfoIndex()
| int32_t AZ::Render::ModelDataInstance::GetMeshInfoIndex |
( |
size_t |
modelLodIndex, |
|
|
size_t |
meshIndex |
|
) |
| const |
|
overridevirtual |
◆ GetModel()
| const Data::Instance< RPI::Model > & AZ::Render::ModelDataInstance::GetModel |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetObjectId()
◆ 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.
Implements AZ::Render::ModelDataInstanceInterface.
◆ GetRayTracingUuid()
| const AZ::Uuid & AZ::Render::ModelDataInstance::GetRayTracingUuid |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ HandleDrawPacketUpdate()
| void AZ::Render::ModelDataInstance::HandleDrawPacketUpdate |
( |
uint32_t |
lodIndex, |
|
|
uint32_t |
meshIndex, |
|
|
RPI::MeshDrawPacket & |
meshDrawPacket |
|
) |
| |
|
overridevirtual |
◆ IsSkinnedMesh()
| const bool AZ::Render::ModelDataInstance::IsSkinnedMesh |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
- Gems/Atom/Feature/Common/Code/Source/Mesh/MeshFeatureProcessor.h