KDGpu::VulkanAccelerationStructure
Module: Vulkan
VulkanAccelerationStructure.
#include <vulkan_acceleration_structure.h>
Inherits from KDGpu::ApiAccelerationStructure
Public Functions
Public Attributes
Public Functions Documentation
function VulkanAccelerationStructure
| explicit VulkanAccelerationStructure(
Handle< Device_t > _deviceHandle,
VulkanResourceManager * _vulkanResourceManager,
VkAccelerationStructureKHR _accelerationStructure,
Handle< Buffer_t > _backingBuffer,
AccelerationStructureType _type,
VkAccelerationStructureBuildSizesInfoKHR _buildSizes,
VkBuildAccelerationStructureFlagsKHR _buildFlags
)
|
function createAccelerationBuffer
| static Handle< Buffer_t > createAccelerationBuffer(
Handle< Device_t > deviceHandle,
VulkanResourceManager * _vulkanResourceManager,
VkDeviceSize size
)
|
Public Attributes Documentation
variable deviceHandle
| Handle< Device_t > deviceHandle;
|
variable vulkanResourceManager
| VulkanResourceManager * vulkanResourceManager { nullptr };
|
variable accelerationStructure
| VkAccelerationStructureKHR accelerationStructure { VK_NULL_HANDLE };
|
variable backingBuffer
| Handle< Buffer_t > backingBuffer;
|
variable type
| AccelerationStructureType type;
|
variable buildSizes
| VkAccelerationStructureBuildSizesInfoKHR buildSizes;
|
variable buildFlags
| VkBuildAccelerationStructureFlagsKHR buildFlags;
|
Updated on 2024-11-21 at 00:08:26 +0000