D3D11_TRACE_RAYTRACING_PAYLOAD_LOCATION Enumeration
Specifies where a shader resource is located in the shader resource binding table.
D3D11_TRACE_RAYTRACING_PAYLOAD_LOCATION_CURRENT_PIXEL = 0,
D3D11_TRACE_RAYTRACING_PAYLOAD_LOCATION_DISPATCH_THREAD = 1
};
Members
-
D3D11_TRACE_RAYTRACING_PAYLOAD_LOCATION_CURRENT_PIXEL
The payload is associated with the current pixel being traced.
-
D3D11_TRACE_RAYTRACING_PAYLOAD_LOCATION_DISPATCH_THREAD
The payload is associated with the dispatch thread.
Remarks
This enumeration is used by the ID3D11Device5::AddShaderResourceViewToHeap
method to specify the location of a shader resource for ray tracing operations.
Ensure correct alignment and size of your payload data when using these locations to avoid unexpected behavior.
The behavior and availability of these flags may vary depending on the DirectX 11 Feature Level and hardware capabilities.
Requirements
Header: Declared in d3d11.h
Library: Use d3d11.lib
Minimum supported client: Windows 10
Minimum supported server: Windows Server 2016
Product Target: Windows