ID3DX10DataLoader interface

Data loading object used by ID3DX10ThreadPump Interface for loading data asynchronously.

Members

The ID3DX10DataLoader interface inherits from the IUnknown interface. ID3DX10DataLoader also has these types of members:

Methods

The ID3DX10DataLoader interface has these methods.

Method Description
Decompress Used to decompress encoded data. Typically this would be used 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.
Destroy Used by a ID3DX10ThreadPump Interface to destroy the loader after a work item completes.
Load Used by a ID3DX10ThreadPump Interface to load data from a disk.

 

Remarks

This object can be inherited and its members redefined. Doing so would enable you to customize the API for loading and decompressing your own custom file formats.

Requirements

Requirement Value
Header
D3DX10.h
Library
D3DX10.lib

See also

D3DX Interfaces