Structures
VkGeometryNV
Structure specifying a geometry in a bottom-level acceleration structure
The VkGeometryNV
structure describes geometry in a bottom-level
acceleration structure and is defined as:
typedef struct VkGeometryNV {
VkStructureType sType;
const void* pNext;
VkGeometryTypeKHR geometryType;
VkGeometryDataNV geometry;
VkGeometryFlagsKHR flags;
} VkGeometryNV;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.geometryType
specifies the VkGeometryTypeKHR which this geometry refers to.geometry
contains the geometry data as described in VkGeometryDataNV.flags
has VkGeometryFlagBitsKHR describing options for this geometry.
Valid Usage
VUID-VkGeometryNV-geometryType-03503
geometryType
must be VK_GEOMETRY_TYPE_TRIANGLES_NV
or
VK_GEOMETRY_TYPE_AABBS_NV
Valid Usage (Implicit)
VUID-VkGeometryNV-sType-sType
sType
must be VK_STRUCTURE_TYPE_GEOMETRY_NV
VUID-VkGeometryNV-pNext-pNext
pNext
must be NULL
VUID-VkGeometryNV-geometryType-parameter
geometryType
must be a valid VkGeometryTypeKHR value
VUID-VkGeometryNV-geometry-parameter
geometry
must be a valid VkGeometryDataNV structure
VUID-VkGeometryNV-flags-parameter
flags
must be a valid combination of VkGeometryFlagBitsKHR values