template<typename EngineImplTraits>
BottomLevelASBase class
Template class implementing base functionality of the bottom-level acceleration structure object.
| Template parameters | |
|---|---|
| EngineImplTraits | - Engine implementation type traits. |
Contents
Base classes
-
template<class BaseInterface, typename RenderDeviceImplType, typename ObjectDescType>class DeviceObjectBase<EngineImplTraits::BottomLevelASInterface, EngineImplTraits::RenderDeviceImplType, BottomLevelASDesc>
- Template class implementing base functionality of the device object.
Constructors, destructors, conversion operators
- BottomLevelASBase(IReferenceCounters* pRefCounters, RenderDeviceImplType* pDevice, const BottomLevelASDesc& Desc, bool bIsDeviceInternal = false)
Public functions
- auto GetGeometryDescIndex(const char* Name) const -> Uint32 final
- Implementation of IBottomLevelAS::
GetGeometryDescIndex() - auto GetGeometryIndex(const char* Name) const -> Uint32 final
- Implementation of IBottomLevelAS::
GetGeometryIndex() -
void SetState(RESOURCE_
STATE State) final - Implementation of IBottomLevelAS::
SetState() -
auto GetState() const -> RESOURCE_
STATE final - Implementation of IBottomLevelAS::
GetState() - auto GetScratchBufferSizes() const -> ScratchBufferSizes final
- Implementation of IBottomLevelAS::
GetScratchBufferSizes()
Function documentation
template<typename EngineImplTraits>
Diligent:: BottomLevelASBase<EngineImplTraits>:: BottomLevelASBase(IReferenceCounters* pRefCounters,
RenderDeviceImplType* pDevice,
const BottomLevelASDesc& Desc,
bool bIsDeviceInternal = false)
| 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. |