15 #include <vsg/core/Value.h>
16 #include <vsg/maths/mat4.h>
17 #include <vsg/state/BufferInfo.h>
18 #include <vsg/state/Descriptor.h>
19 #include <vsg/vk/DeviceMemory.h>
30 virtual void compile(
Context& context);
32 operator VkAccelerationStructureKHR()
const {
return _accelerationStructure; }
35 uint64_t handle()
const {
return _handle; }
37 VkDeviceSize requiredScratchSize()
const {
return _requiredBuildScratchSize; }
42 VkAccelerationStructureKHR _accelerationStructure;
44 std::vector<uint32_t> _geometryPrimitiveCounts;
49 VkDeviceSize _requiredBuildScratchSize;
55 using AccelerationStructures = std::vector<ref_ptr<AccelerationStructure>>;
AccelerationStructure is a base class for top/bottom level acceleration structure classes.
Definition: AccelerationStructure.h:26
Device encapsulates VkDevice, a logical handle to the PhysicalDevice with capabilities specified duri...
Definition: Device.h:37