public:
HRESULT JPEGDecode(
ID3D11Resource *pDstResource,
UINT DstSubresource,
UINT DstX,
UINT DstY,
UINT DstZ,
ID3D11Buffer *pSrcBuffer,
UINT CopyFlags
)
pDstResource
Type: ID3D11Resource *
[in] The destination resource, as a pointer to an ID3D11Resource instance.
DstSubresource
Type: UINT
[in] The destination sub-resource.
DstX
Type: UINT
[in] The X coordinate of the destination.
DstY
Type: UINT
[in] The Y coordinate of the destination.
DstZ
Type: UINT
[in] The Z coordinate of the destination.
pSrcBuffer
Type: ID3D11Buffer *
[in] The source buffer, as a pointer to an ID3D11Buffer instance.
CopyFlags
Type: UINT
[in] Flags to control the decoding. Valid values: Enter zero. Reserved for future use.
Type: HRESULT
S_OK if successful; otherwise, an error code.
Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).