IPixShaderResourceView::GetDesc method

Get the shader resource view desc.

Syntax

HRESULT GetDesc(
    const D3D12_SHADER_RESOURCE_VIEW_DESC ** shaderResourceViewDescription);

Parameters

shaderResourceViewDescription [out]

Pointer to the result shader resource view desc.

Returns

Returns failure for unbound resources that are uninitialized or null.

Remarks

BufferLocation in D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV is not valid/populated.

See also