Nebula
Loading...
Searching...
No Matches
vkaccelerationstructure.h File Reference

Go to the source code of this file.

Classes

struct  Vulkan::GeometrySetup
 
struct  Vulkan::InstanceSetup
 
struct  Vulkan::SceneSetup
 

Namespaces

namespace  Vulkan
 Vulkan implementation of GPU acceleration structure.
 

Typedefs

typedef Ids::IdAllocatorSafe< 0xFFF, VkDevice, VkAccelerationStructureKHR, CoreGraphics::BufferId, CoreGraphics::BufferId, GeometrySetup, VkDeviceAddress > Vulkan::VkBlasAllocator
 
typedef Ids::IdAllocatorSafe< 0xFFFF, VkAccelerationStructureInstanceKHR, Math::mat4, uintVulkan::VkBlasInstanceAllocator
 
typedef Ids::IdAllocatorSafe< 0xFFF, VkDevice, SceneSetup, VkAccelerationStructureKHR, CoreGraphics::BufferId, CoreGraphics::BufferId, CoreGraphics::BufferId, VkDeviceAddress, VkDeviceAddress > Vulkan::VkTlasAllocator
 

Enumerations

enum  {
  Vulkan::Blas_Device , Vulkan::Blas_Handle , Vulkan::Blas_Buffer , Vulkan::Blas_Scratch ,
  Vulkan::Blas_Geometry , Vulkan::Blas_View
}
 
enum  { Vulkan::BlasInstance_Instance , Vulkan::BlasInstance_Transform }
 
enum  {
  Vulkan::Tlas_Device , Vulkan::Tlas_Scene , Vulkan::Tlas_Handle , Vulkan::Tlas_Buffer ,
  Vulkan::Tlas_BuildScratch , Vulkan::Tlas_UpdateScratch , Vulkan::Tlas_BuildScratchAddr , Vulkan::Tlas_UpdateScratchAddr
}
 

Functions

const VkDevice Vulkan::BlasGetVkDevice (const CoreGraphics::BlasId id)
 Get device used to create blas.
 
const VkBuffer Vulkan::BlasGetVkBuffer (const CoreGraphics::BlasId id)
 Get buffer holding TLAS data.
 
const VkAccelerationStructureKHR Vulkan::BlasGetVk (const CoreGraphics::BlasId id)
 Get buffer representing the acceleration structure.
 
const VkAccelerationStructureBuildGeometryInfoKHR & Vulkan::BlasGetVkBuild (const CoreGraphics::BlasId id)
 Get build info for bottom level acceleration structure.
 
const Util::Array< VkAccelerationStructureBuildRangeInfoKHR > & Vulkan::BlasGetVkRanges (const CoreGraphics::BlasId id)
 Get range infos for bottom level acceleration structure.
 
const VkDevice Vulkan::TlasGetVkDevice (const CoreGraphics::TlasId id)
 Get device used to create Tlas.
 
const VkBuffer Vulkan::TlasGetVkBuffer (const CoreGraphics::TlasId id)
 Get buffer holding TLAS data.
 
const VkAccelerationStructureKHR Vulkan::TlasGetVk (const CoreGraphics::TlasId id)
 Get acceleration structure.
 
const VkAccelerationStructureBuildGeometryInfoKHR & Vulkan::TlasGetVkBuild (const CoreGraphics::TlasId id)
 Get build info.
 
const Util::Array< VkAccelerationStructureBuildRangeInfoKHR > & Vulkan::TlasGetVkRanges (const CoreGraphics::TlasId id)
 Get build ranges.