Enum
VkAccelerationStructureBuildTypeKHR
Acceleration structure build type
Possible values of buildType in
vkGetAccelerationStructureBuildSizesKHR are:
typedef enum VkAccelerationStructureBuildTypeKHR {
VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHR = 0,
VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHR = 1,
VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHR = 2,
} VkAccelerationStructureBuildTypeKHR;
pub struct AccelerationStructureBuildTypeKHR(u32);
impl AccelerationStructureBuildTypeKHR {
pub const HOST: Self = 0;
pub const DEVICE: Self = 1;
pub const HOST_OR_DEVICE: Self = 2;
}
VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_KHRrequests the memory requirement for operations performed by the host.VK_ACCELERATION_STRUCTURE_BUILD_TYPE_DEVICE_KHRrequests the memory requirement for operations performed by the device.VK_ACCELERATION_STRUCTURE_BUILD_TYPE_HOST_OR_DEVICE_KHRrequests the memory requirement for operations performed by either the host, or the device.
Type
Enum