Structures
VkGeometryDataNV
Structure specifying geometry in a bottom-level acceleration structure
The VkGeometryDataNV
structure specifies geometry in a bottom-level
acceleration structure and is defined as:
typedef struct VkGeometryDataNV {
VkGeometryTrianglesNV triangles;
VkGeometryAABBNV aabbs;
} VkGeometryDataNV;
triangles
contains triangle data if VkGeometryNV::geometryType
isVK_GEOMETRY_TYPE_TRIANGLES_NV
.aabbs
contains axis-aligned bounding box data if VkGeometryNV::geometryType
isVK_GEOMETRY_TYPE_AABBS_NV
.
Valid Usage (Implicit)
VUID-VkGeometryDataNV-triangles-parameter
triangles
must be a valid VkGeometryTrianglesNV structure
VUID-VkGeometryDataNV-aabbs-parameter
aabbs
must be a valid VkGeometryAABBNV structure