![]() |
Open 3D Engine Atom Gem API Reference
22.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <RayTracingAccelerationStructure.h>
Inherits AZ::RHI::DeviceObject.
Public Member Functions | |
ResultCode | CreateBuffers (Device &device, const RayTracingTlasDescriptor *descriptor, const RayTracingBufferPools &rayTracingBufferPools) |
Creates the internal TLAS buffers from the descriptor. | |
virtual const RHI::Ptr< RHI::Buffer > | GetTlasBuffer () const =0 |
Returns the TLAS RHI buffer. | |
virtual const RHI::Ptr< RHI::Buffer > | GetTlasInstancesBuffer () const =0 |
![]() | |
AZ_RTTI (DeviceObject, "{17D34F71-944C-4AF5-9823-627474C4C0A6}", Object) | |
bool | IsInitialized () const |
Returns whether the device object is initialized. | |
Device & | GetDevice () const |
![]() | |
AZ_RTTI (Object, "{E43378F1-2331-4173-94B8-990ED20E6003}") | |
void | SetName (const Name &name) |
const Name & | GetName () const |
Static Public Member Functions | |
static RHI::Ptr< RHI::RayTracingTlas > | CreateRHIRayTracingTlas () |
Additional Inherited Members | |
![]() | |
void | Init (Device &device) |
The derived class should call this method to assign the device. | |
void | Shutdown () override |
Clears the current bound device to null. | |
A RayTracingTlas is created from the information in the RayTracingTlasDescriptor.