Enum
VkGeometryFlagBitsKHR
Bitmask specifying additional parameters for a geometry
Bits specifying additional parameters for geometries in acceleration structure builds, are:
typedef enum VkGeometryFlagBitsKHR {
VK_GEOMETRY_OPAQUE_BIT_KHR = 0x00000001,
VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR = 0x00000002,
} VkGeometryFlagBitsKHR;
or the equivalent
#define VkGeometryFlagBitsNV VkGeometryFlagBitsKHR
VK_GEOMETRY_OPAQUE_BIT_KHR
indicates that this geometry does not invoke the any-hit shaders even if present in a hit group.VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_KHR
indicates that the implementation must only call the any-hit shader a single time for each primitive in this geometry. If this bit is absent an implementation may invoke the any-hit shader more than once for this geometry.