IPixTextureSubresource::GetData method

Get the requested texture subresource data. The subresource data starts at bytes[0].

Syntax

HRESULT GetData(
    UINT64 size,
    BYTE * bytes);

Parameters

size [in]

The destination buffer size in bytes.

bytes [out]

The destination buffer.

Returns

Returns a HRESULT value.

See also