Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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,
D3D12_RAYTRACING_PIPELINE_FLAG_ALLOW_OPACITY_MICROMAPS
} ;
Constants
D3D12_RAYTRACING_PIPELINE_FLAG_NONEValue: 0 Specifies no option. |
D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLESValue: 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_PRIMITIVESValue: 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 |