Microsoft DirectX 8.1 (C++) |
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 |
Miscellaneous | OnLostDevice |
OnResetDevice |
The ID3DXSprite interface, like all COM interfaces, inherits the IUnknown interface.
The LPD3DXSPRITE type is defined as a pointer to the ID3DXSprite interface.
typedef interface ID3DXSprite *LPD3DXSPRITE;
Header: Declared in D3dx8core.h.
Import Library: Use D3dx8.lib.