D3D11_TRACE_RAYTRACING_PAYLOAD_LOCATION Enumeration

Specifies where a shader resource is located in the shader resource binding table.

enum D3D11_TRACE_RAYTRACING_PAYLOAD_LOCATION : UINT {
    D3D11_TRACE_RAYTRACING_PAYLOAD_LOCATION_CURRENT_PIXEL = 0,
    D3D11_TRACE_RAYTRACING_PAYLOAD_LOCATION_DISPATCH_THREAD = 1
};

Members

Remarks

This enumeration is used by the ID3D11Device5::AddShaderResourceViewToHeap method to specify the location of a shader resource for ray tracing operations.

Note

Ensure correct alignment and size of your payload data when using these locations to avoid unexpected behavior.

Important

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