Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::BottomLevelASBase< EngineImplTraits > Class Template Reference

Template class implementing base functionality of the bottom-level acceleration structure object. More...

#include <BottomLevelASBase.hpp>

Inheritance diagram for Diligent::BottomLevelASBase< EngineImplTraits >:
Diligent::DeviceObjectBase< EngineImplTraits::BottomLevelASInterface, EngineImplTraits::RenderDeviceImplType, BottomLevelASDesc > Diligent::ObjectBase< EngineImplTraits::BottomLevelASInterface > Diligent::RefCountedObject< EngineImplTraits::BottomLevelASInterface >

Public Member Functions

 BottomLevelASBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const BottomLevelASDesc &Desc, bool bIsDeviceInternal=false)
 
virtual Uint32 DILIGENT_CALL_TYPE GetGeometryDescIndex (const char *Name) const override final
 Implementation of IBottomLevelAS::GetGeometryDescIndex()
 
virtual Uint32 DILIGENT_CALL_TYPE GetGeometryIndex (const char *Name) const override final
 Implementation of IBottomLevelAS::GetGeometryIndex()
 
virtual void DILIGENT_CALL_TYPE SetState (RESOURCE_STATE State) override final
 Implementation of IBottomLevelAS::SetState()
 
virtual RESOURCE_STATE DILIGENT_CALL_TYPE GetState () const override final
 Implementation of IBottomLevelAS::GetState()
 
virtual ScratchBufferSizes DILIGENT_CALL_TYPE GetScratchBufferSizes () const override final
 Implementation of IBottomLevelAS::GetScratchBufferSizes()
 
- Public Member Functions inherited from Diligent::DeviceObjectBase< EngineImplTraits::BottomLevelASInterface, EngineImplTraits::RenderDeviceImplType, BottomLevelASDesc >
 DeviceObjectBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const BottomLevelASDesc &ObjDesc, bool bIsDeviceInternal=false)
 
virtual Int32 DILIGENT_CALL_TYPE GetUniqueID () const override final
 Returns unique identifier.
 
virtual void DILIGENT_CALL_TYPE SetUserData (IObject *pUserData) override final
 Implementation of IDeviceObject::SetUserData.
 
virtual IObject *DILIGENT_CALL_TYPE GetUserData () const override final
 Implementation of IDeviceObject::GetUserData.
 

Additional Inherited Members

- Protected Attributes inherited from Diligent::DeviceObjectBase< EngineImplTraits::BottomLevelASInterface, EngineImplTraits::RenderDeviceImplType, BottomLevelASDesc >
RenderDeviceImplType *const m_pDevice
 Pointer to the device.
 
BottomLevelASDesc m_Desc
 Object description.
 

Detailed Description

template<typename EngineImplTraits>
class Diligent::BottomLevelASBase< EngineImplTraits >

Template class implementing base functionality of the bottom-level acceleration structure object.

Template Parameters
EngineImplTraits- Engine implementation type traits.

Constructor & Destructor Documentation

◆ BottomLevelASBase()

template<typename EngineImplTraits>
Diligent::BottomLevelASBase< EngineImplTraits >::BottomLevelASBase ( IReferenceCounters * pRefCounters,
RenderDeviceImplType * pDevice,
const BottomLevelASDesc & Desc,
bool bIsDeviceInternal = false )
inline
Parameters
pRefCounters- Reference counters object that controls the lifetime of this BLAS.
pDevice- Pointer to the device.
Desc- BLAS description.
bIsDeviceInternal- Flag indicating if the BLAS is an internal device object and must not keep a strong reference to the device.