ID3D11ImageContext::JpegEncode method
[This documentation is preliminary and is subject to change.]
Encodes a JPEG image.
Syntax
void JpegEncode(
[in] const D3D11_JPEG_ENCODE_PARAMETERS *pParameters,
[in] ID3D11Buffer *pScanData,
UINT ScanDataOffset,
[in] ID3D11Resource *pSource,
UINT SourceSubresource
);
Parameters
pParameters [in]
Type: const D3D11_JPEG_ENCODE_PARAMETERS*A pointer to a D3D11_JPEG_ENCODE_PARAMETERS structure that describes the encode parameters.
pScanData [in]
Type: ID3D11Buffer*A pointer to a ID3D11Buffer interface for the scan data for the image to encode.
ScanDataOffset
Type: UINTA zero-based offset into the scan data.
pSource [in]
Type: ID3D11Resource*Pointer to a ID3D11Resource that represents the source for the encoded image.
SourceSubresource
Type: UINTA zero-based index for the source subresource.
Return value
This method does not return a value.
Requirements
Minimum supported client |
Windows 10 Technical Preview [desktop apps only] |
Minimum supported server |
Windows Server Technical Preview [desktop apps only] |
Header |
D3D11_3.h |
Library |
D3D11.lib |