Writes data to the Global Data Share (GDS).
public:
void WriteGDSX(
UINT OffsetDwords,
UINT NumDwords,
const UINT *pValues,
D3D12XBOX_GDS_OPERATION Flags
)
OffsetDwords
Type: UINT
[in] The offset in DWORDs from the address 0 in GDS.
NumDwords
Type: UINT
[in] The number of DWORDs, which will limit the amount of GDS used by the shader.
pValues
Type: UINT *
[in] Source data for the GDS data. For information about the lifetime of this data, see D3D12XBOX_GDS_OPERATION.
Flags
Type: D3D12XBOX_GDS_OPERATION
[in] Specifies copy options, as a bitwise OR’d combination of D3D12XBOX_GDS_OPERATION enumeration constants.
Direct3D 12 doesn’t perform any implicit GDS management, so the entire GDS space is available to the title. The title can partition GDS as appropriate. There are D3D12XBOX_GDS_SIZE_DWORDS DWORDs of GDS available for title use.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.