ID3D12GraphicsCommandList::ReadGDSX Method

Reads data from GDS.

Syntax

public:
void ReadGDSX(
         UINT OffsetDwords,
         UINT NumDwords,
         D3D12_GPU_VIRTUAL_ADDRESS pValues,
         D3D12XBOX_GDS_OPERATION Flags
)  

Parameters

OffsetDwords
Type: UINT 

[in] The offset in DWORDs from the address 0 in GDS.

NumDwords
Type: UINT 

[in] The number of DWORDs that will be limit the amount of GDS used by the shader.

pValues
Type: D3D12_GPU_VIRTUAL_ADDRESS 

[in, out] Destination pointer for the GDS data. The title needs to track lifetime of this pointer, always making sure it is mapped to the GPU memory when the GPU gets to writing the GDS contents into it.

Flags
Type: D3D12XBOX_GDS_OPERATION 

[in] Options for copying, as a bitwise-OR’d combination of D3D12XBOX_GDS_OPERATION enumeration constants.

Return value

None.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12GraphicsCommandList Interface

ID3D12GraphicsCommandList Members