|
| AZ_RTTI (AZ::Render::RayTracingFeatureProcessor, "{5017EFD3-A996-44B0-9ED2-C47609A2EE8D}", AZ::RPI::FeatureProcessor) |
|
void | Activate () override |
| Perform any necessary activation and gives access to owning Scene.
|
|
void | Deactivate () override |
| Perform any necessary deactivation.
|
|
void | OnRenderPipelineChanged (RPI::RenderPipeline *renderPipeline, RPI::SceneNotification::RenderPipelineChangeType changeType) override |
|
void | AddMesh (const AZ::Uuid &uuid, const Mesh &rayTracingMesh, const SubMeshVector &subMeshes) |
|
void | RemoveMesh (const AZ::Uuid &uuid) |
|
void | SetMeshTransform (const AZ::Uuid &uuid, const AZ::Transform transform, const AZ::Vector3 nonUniformScale) |
|
void | SetMeshReflectionProbe (const AZ::Uuid &uuid, const Mesh::ReflectionProbe &reflectionProbe) |
| Sets the reflection probe for a mesh.
|
|
const SubMeshVector & | GetSubMeshes () const |
| Retrieves the map of all subMeshes in the scene.
|
|
SubMeshVector & | GetSubMeshes () |
|
Data::Instance< RPI::ShaderResourceGroup > | GetRayTracingSceneSrg () const |
| Retrieves the RayTracingSceneSrg.
|
|
Data::Instance< RPI::ShaderResourceGroup > | GetRayTracingMaterialSrg () const |
| Retrieves the RayTracingMaterialSrg.
|
|
const RHI::Ptr< RHI::RayTracingTlas > & | GetTlas () const |
| Retrieves the RayTracingTlas.
|
|
RHI::Ptr< RHI::RayTracingTlas > & | GetTlas () |
|
uint32_t | GetRevision () const |
|
RHI::RayTracingBufferPools & | GetBufferPools () |
| Retrieves the buffer pools used for ray tracing operations.
|
|
uint32_t | GetSubMeshCount () const |
| Retrieves the total number of ray tracing meshes.
|
|
RHI::AttachmentId | GetTlasAttachmentId () const |
| Retrieves the attachmentId of the Tlas for this scene.
|
|
const Data::Instance< RPI::Buffer > | GetMeshInfoGpuBuffer () const |
| Retrieves the GPU buffer containing information for all ray tracing meshes.
|
|
const Data::Instance< RPI::Buffer > | GetMaterialInfoGpuBuffer () const |
| Retrieves the GPU buffer containing information for all ray tracing materials.
|
|
void | UpdateRayTracingSrgs () |
| Updates the RayTracingSceneSrg and RayTracingMaterialSrg, called after the TLAS is allocated in the RayTracingAccelerationStructurePass.
|
|
BlasInstanceMap & | GetBlasInstances () |
|
| AZ_RTTI (FeatureProcessor, "{B8027170-C65C-4237-964D-B557FC9D7575}") |
|
| AZ_CLASS_ALLOCATOR (FeatureProcessor, AZ::SystemAllocator) |
|
Scene * | GetParentScene () const |
|
virtual void | Activate () |
| Perform any necessary activation and gives access to owning Scene.
|
|
virtual void | Deactivate () |
| Perform any necessary deactivation.
|
|
virtual void | ApplyRenderPipelineChange (RenderPipeline *pipeline) |
|
virtual void | AddRenderPasses (RenderPipeline *pipeline) |
|
virtual void | PrepareViews (const PrepareViewsPacket &, AZStd::vector< AZStd::pair< PipelineViewTag, ViewPtr > > &) |
|
virtual void | Simulate (const SimulatePacket &) |
|
virtual void | Render (const RenderPacket &) |
|
virtual void | OnEndCulling (const RenderPacket &) |
|
virtual void | OnRenderEnd () |
|
This feature processor manages ray tracing data for a Scene.