?/TD> |
Microsoft DirectX 9.0 |
The ID3DXSprite interface provides a set of methods that simplify the process of drawing sprites using Microsoft?Direct3D?
ID3DXSprite Members
Begin Prepares a device for drawing sprites. Draw Draws a simple sprite in screen space. DrawTransform Provides a mechanism for drawing a sprite that is transformed by a specified matrix. End Restores the device state to how it was when ID3DXSprite::Begin was called. GetDevice Retrieves the Direct3D device associated with the sprite object. OnLostDevice Releases all references to video memory resources and deletes all stateblocks.
OnResetDevice Should be called after the device has been reset.
Remarks
The ID3DXSprite interface is obtained by calling the D3DXCreateSprite function.
The ID3DXSprite interface, like all Component Object Model (COM) interfaces, inherits the IUnknown interface.
The LPD3DXSPRITE type is defined as a pointer to the ID3DXSprite interface.
typedef interface ID3DXSprite *LPD3DXSPRITE;
Interface Information
Inherits from IUnknown Header d3dx9core.h Import library d3dx9.lib Minimum operating systems Windows 98