Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the type of geometry used for raytracing. Use a value from this enumeration to specify the geometry type in a D3D12_RAYTRACING_GEOMETRY_DESC.
Syntax
typedef enum D3D12_RAYTRACING_GEOMETRY_TYPE {
D3D12_RAYTRACING_GEOMETRY_TYPE_TRIANGLES = 0,
D3D12_RAYTRACING_GEOMETRY_TYPE_PROCEDURAL_PRIMITIVE_AABBS,
D3D12_RAYTRACING_GEOMETRY_TYPE_OMM_TRIANGLES
} ;
Constants
D3D12_RAYTRACING_GEOMETRY_TYPE_TRIANGLESValue: 0 The geometry consists of triangles. |
D3D12_RAYTRACING_GEOMETRY_TYPE_PROCEDURAL_PRIMITIVE_AABBSThe geometry procedurally is defined during raytracing by intersection shaders. For the purpose of acceleration structure builds, the geometry’s bounds are described with axis-aligned bounding boxes using the D3D12_RAYTRACING_GEOMETRY_AABBS_DESC structure. |
Requirements
| Requirement | Value |
|---|---|
| Header | d3d12.h |