ID3D11DeviceContextX::ReadGDS Method

Reads data from GDS.

Syntax

public:
void ReadGDS(
         D3D11X_GDS_REGION_TYPE RegionType,
         UINT OffsetDwords,
         UINT NumDwords,
         UINT *pCounterValues,
         UINT Flags
)  

Parameters

RegionType
Type: D3D11X_GDS_REGION_TYPE 

[in] The shader binding region of the GDS area, as a D3D11X_GDS_REGION_TYPE enumeration constant.

OffsetDwords
Type: UINT 

[in] The offset from the start of the range specified by ID3D11DeviceContextX::SetGDSRange.

NumDwords
Type: UINT 

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

pCounterValues
Type: UINT *

[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: UINT 

[in] Copy options, using D3D11X_GDS_OPERATION_FLAGS.

Return value

None.

Remarks

For more information about this method, see D3D11X_GDS_OPERATION_FLAGS.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceContextX Interface

ID3D11DeviceContextX Members