Microsoft DirectX 8.0 (C++)

ID3DXSprite

The ID3DXSprite interface provides a set of methods that simplify the process of drawing sprites using Microsoft® Direct3D®.

The ID3DXSprite interface is obtained by calling the D3DXCreateSprite function.

The methods of the ID3DXSprite interface can be organized into the following groups.

Drawing Begin
  Draw
  DrawTransform
  End
Information GetDevice

The ID3DXSprite interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods.

IUnknown AddRef
  QueryInterface
  Release

The LPD3DXSPRITE type is defined as a pointer to the ID3DXSprite interface.

typedef interface ID3DXSprite *LPD3DXSPRITE;

Requirements

  Header: Declared in D3dx8core.h.
  Import Library: Use D3dx8.lib.