Settings to apply to a mesh handle when acquiring it for the first time. More...
#include <MeshFeatureProcessorInterface.h>
Public Types | |
| using | RequiresCloneCallback = AZStd::function< bool(const Data::Asset< RPI::ModelAsset > &modelAsset)> |
| using | ModelChangedEvent = Event< const Data::Instance< RPI::Model > & > |
| using | ObjectSrgCreatedEvent = Event< const Data::Instance< RPI::ShaderResourceGroup > & > |
Public Member Functions | |
| MeshHandleDescriptor (const Data::Asset< RPI::ModelAsset > &modelAsset) | |
| MeshHandleDescriptor (const Data::Asset< RPI::ModelAsset > &modelAsset, const CustomMaterialMap &customMaterials) | |
| MeshHandleDescriptor (const Data::Asset< RPI::ModelAsset > &modelAsset, const Data::Instance< RPI::Material > &material) | |
Public Attributes | |
| AZ::EntityId | m_entityId { AZ::EntityId::InvalidEntityId } |
| Data::Asset< RPI::ModelAsset > | m_modelAsset |
| Data::Asset< RPI::ModelAsset > | m_productModelAsset |
| bool | m_isRayTracingEnabled = true |
| bool | m_useForwardPassIblSpecular = false |
| bool | m_isAlwaysDynamic = false |
| bool | m_excludeFromReflectionCubeMaps = false |
| bool | m_isSkinnedMesh = false |
| bool | m_supportRayIntersection = false |
| CustomMaterialMap | m_customMaterials |
| RequiresCloneCallback | m_requiresCloneCallback {} |
| ModelChangedEvent::Handler | m_modelChangedEventHandler { [](const Data::Instance<RPI::Model>&){} } |
| Connects to an event that gets triggered whenever the model is changed, loaded, or reloaded. | |
| ObjectSrgCreatedEvent::Handler | m_objectSrgCreatedHandler { [](const Data::Instance<RPI::ShaderResourceGroup>&){} } |
| Connects to an event that triggers whenever the ObjectSrg is created. | |
Settings to apply to a mesh handle when acquiring it for the first time.