[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.DeviceContext.GetData

GetData Method

GetData(Asynchronous)

Gets data from the GPU asynchronously.

Declaration
public DataStream GetData(Asynchronous data)
Parameters
Type Name Description
Asynchronous data

The asynchronous data provider.

Returns
Type Description
DataStream

The data retrieved from the GPU.

GetData<T>(Asynchronous)

Gets data from the GPU asynchronously.

Declaration
public T GetData<T>(Asynchronous data) where T : struct
Parameters
Type Name Description
Asynchronous data

The asynchronous data provider.

Returns
Type Description
T

The data retrieved from the GPU.

Type Parameters
Name Description
T

GetData<T>(Asynchronous, out T)

Gets data from the GPU asynchronously.

Declaration
public bool GetData<T>(Asynchronous data, out T result) where T : struct
Parameters
Type Name Description
Asynchronous data

The asynchronous data provider.

T result

The data retrieved from the GPU.

Returns
Type Description
bool

True if result contains valid data, false otherwise.

Type Parameters
Name Description
T

GetData(Asynchronous, AsynchronousFlags)

Gets data from the GPU asynchronously.

Declaration
public DataStream GetData(Asynchronous data, AsynchronousFlags flags)
Parameters
Type Name Description
Asynchronous data

The asynchronous data provider.

AsynchronousFlags flags

Flags specifying how the command should operate.

Returns
Type Description
DataStream

The data retrieved from the GPU.

GetData<T>(Asynchronous, AsynchronousFlags)

Gets data from the GPU asynchronously.

Declaration
public T GetData<T>(Asynchronous data, AsynchronousFlags flags) where T : struct
Parameters
Type Name Description
Asynchronous data

The asynchronous data provider.

AsynchronousFlags flags

Flags specifying how the command should operate.

Returns
Type Description
T

The data retrieved from the GPU.

Type Parameters
Name Description
T

GetData<T>(Asynchronous, AsynchronousFlags, out T)

Gets data from the GPU asynchronously.

Declaration
public bool GetData<T>(Asynchronous data, AsynchronousFlags flags, out T result) where T : struct
Parameters
Type Name Description
Asynchronous data

The asynchronous data provider.

AsynchronousFlags flags

Flags specifying how the command should operate.

T result

The data retrieved from the GPU.

Returns
Type Description
bool

True if result contains valid data, false otherwise.

Type Parameters
Name Description
T