public:
void DecompressResourceX(
D3D11X_DESCRIPTOR_RESOURCE *pDstResource,
UINT DstSubresource,
const D3D11X_POINT *pDstPoint,
D3D11X_DESCRIPTOR_RESOURCE *pSrcResource,
UINT SrcSubresource,
const D3D11X_RECT *pSrcRect,
DXGI_FORMAT DecompressFormat,
UINT DecompressFlags
)
pDstResource
Type: D3D11X_DESCRIPTOR_RESOURCE *
[in] The destination resource, as a pointer to a D3D11X_DESCRIPTOR_RESOURCE structure.
DstSubresource
Type: UINT
[in] The destination subresource. A value of (UINT32) -1 causes decompression of all subresources.
pDstPoint
Type: D3D11X_POINT *
[in, optional] The destination point, as a pointer to a D3D11X_POINT, which is typedef’d: typedef POINT D3D11X_POINT;
pSrcResource
Type: D3D11X_DESCRIPTOR_RESOURCE *
[in] The source resource, as a pointer to a D3D11X_DESCRIPTOR_RESOURCE structure.
SrcSubresource
Type: UINT
[in] The source subresource. A value of (UINT32) -1 causes decompression of all subresources.
pSrcRect
Type: D3D11X_RECT *
[in, optional] The source rect, as a pointer to a D3D11X_RECT, which is typedef’d: typedef D3D11_RECT D3D11X_RECT;
DecompressFormat
Type: DXGI_FORMAT
[in] The decompress format, as a DXGI_FORMAT enumeration constant.
DecompressFlags
Type: UINT
[in] Flags to control decompression, as a bitwise-OR’d combination of D3D11X_DECOMPRESS_FLAG enumeration constants.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.