C Specification
The VkPhysicalDeviceRayTracingPropertiesKHR
structure is defined as:
typedef struct VkPhysicalDeviceRayTracingPropertiesKHR {
VkStructureType sType;
void* pNext;
uint32_t shaderGroupHandleSize;
uint32_t maxRecursionDepth;
uint32_t maxShaderGroupStride;
uint32_t shaderGroupBaseAlignment;
uint64_t maxGeometryCount;
uint64_t maxInstanceCount;
uint64_t maxPrimitiveCount;
uint32_t maxDescriptorSetAccelerationStructures;
uint32_t shaderGroupHandleCaptureReplaySize;
} VkPhysicalDeviceRayTracingPropertiesKHR;
Members
-
sType
is the type of this structure. -
pNext
isNULL
or a pointer to an extension-specific structure. -
shaderGroupHandleSize
size in bytes of the shader header. -
maxRecursionDepth
is the maximum number of levels of recursion allowed in a trace command. -
maxShaderGroupStride
is the maximum stride in bytes allowed between shader groups in the SBT. -
shaderGroupBaseAlignment
is the required alignment in bytes for the base of the SBTs. -
maxGeometryCount
is the maximum number of geometries in the bottom level acceleration structure. -
maxInstanceCount
is the maximum number of instances in the top level acceleration structure. -
maxPrimitiveCount
is the maximum number of triangles or AABBs in all geometries in the bottom level acceleration structure. -
maxDescriptorSetAccelerationStructures
is the maximum number of acceleration structure descriptors that are allowed in a descriptor set. -
shaderGroupHandleCaptureReplaySize
is the number of bytes for the information required to do capture and replay for shader group handles.
Description
If the VkPhysicalDeviceRayTracingPropertiesKHR
structure is included
in the pNext
chain of VkPhysicalDeviceProperties2, it is filled
with the implementation-dependent limits.
Limits specified by this structure must match those specified with the same name in VkPhysicalDeviceRayTracingPropertiesNV.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.