Export (0) Print
Expand All

ID3DX11DataLoader::Decompress method

Note  The D3DX (D3DX 9, D3DX 10, and D3DX 11) utility library is deprecated for Windows 8 and is not supported for Windows Store apps.

Decompresses encoded data.

Syntax


HRESULT Decompress(
  [out] void   **ppData,
  [in]  SIZE_T *pcBytes
);

Parameters

ppData [out]

Type: void**

Pointer to the raw data to decompress.

pcBytes [in]

Type: SIZE_T*

The size of the data pointed to by ppData.

Return value

Type: HRESULT

The return value is one of the values listed in Direct3D 11 Return Codes.

Remarks

Use this method to load resources from file systems, such as ZIP files. When loading from an uncompressed resource, the decompression stage does not have to do any work.

ID3DX11DataLoader Interface can be inherited and its members redefined to support custom file formats.

Requirements

Header

D3DX11core.h

Library

D3DX11.lib

See also

ID3DX11DataLoader
D3DX Interfaces

 

 

Community Additions

ADD
Show:
© 2015 Microsoft