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.
Defines constants that specify configuration flags for a raytracing pipeline.
Syntax
typedef enum D3D12_RAYTRACING_PIPELINE_FLAGS {
D3D12_RAYTRACING_PIPELINE_FLAG_NONE = 0,
D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLES = 0x100,
D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200
} ;
Constants
D3D12_RAYTRACING_PIPELINE_FLAG_NONE Value: 0 Specifies no option. |
D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLES Value: 0x100 Specifies that for any TraceRay call within this raytracing pipeline, the RAY_FLAG_SKIP_TRIANGLES ray flag should be added in. The resulting combination of ray flags must be valid. The presence of this flag in a raytracing pipeline config doesn't show up in a RayFlags call from a shader. Implementations might be able to optimize pipelines knowing that a particular primitive type need not be considered. |
D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES Value: 0x200 Specifies that for any TraceRay call within this raytracing pipeline, the RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES ray flag should be added in. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | d3d12.h |