Enum
VkClusterAccelerationStructureOpTypeNV
Enum providing the type of operation
Values which can be set in VkClusterAccelerationStructureOpTypeNV
are:
typedef enum VkClusterAccelerationStructureOpTypeNV {
VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_MOVE_OBJECTS_NV = 0,
VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_CLUSTERS_BOTTOM_LEVEL_NV = 1,
VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_TRIANGLE_CLUSTER_NV = 2,
VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_TRIANGLE_CLUSTER_TEMPLATE_NV = 3,
VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_INSTANTIATE_TRIANGLE_CLUSTER_NV = 4,
VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_GET_CLUSTER_TEMPLATE_INDICES_NV = 5,
} VkClusterAccelerationStructureOpTypeNV;
pub struct ClusterAccelerationStructureOpTypeNV(u32);
impl ClusterAccelerationStructureOpTypeNV {
pub const MOVE_OBJECTS: Self = 0;
pub const BUILD_CLUSTERS_BOTTOM_LEVEL: Self = 1;
pub const BUILD_TRIANGLE_CLUSTER: Self = 2;
pub const BUILD_TRIANGLE_CLUSTER_TEMPLATE: Self = 3;
pub const INSTANTIATE_TRIANGLE_CLUSTER: Self = 4;
pub const GET_CLUSTER_TEMPLATE_INDICES: Self = 5;
}
VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_MOVE_OBJECTS_NVspecifies that a cluster acceleration structure, cluster acceleration structure template or a bottom level acceleration structure built from cluster acceleration structures will be moved. If a cluster acceleration structure is moved, the bottom level cluster acceleration structures containing it will have to be re-built. If used withVK_CLUSTER_ACCELERATION_STRUCTURE_OP_MODE_COMPUTE_SIZES_NV, it returns the size of existing cluster acceleration structures.VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_CLUSTERS_BOTTOM_LEVEL_NVspecifies that bottom level cluster acceleration structures will be built.VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_TRIANGLE_CLUSTER_NVspecifies that cluster acceleration structures will be built.VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_BUILD_TRIANGLE_CLUSTER_TEMPLATE_NVspecifies that a template for cluster acceleration structure will be built.VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_INSTANTIATE_TRIANGLE_CLUSTER_NVspecifies that a template for a cluster acceleration structure will be instantiated, resulting in a built cluster acceleration structure.VK_CLUSTER_ACCELERATION_STRUCTURE_OP_TYPE_GET_CLUSTER_TEMPLATE_INDICES_NVspecifies that the vertex indices of the cluster template acceleration structure will be fetched.
Type
Enum