Microsoft DirectX 8.1 (C++) |
Prepares a device for drawing text.
HRESULT Begin();
None.
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be one of the following values.
D3DERR_INVALIDCALL |
D3DXERR_INVALIDDATA |
This method is optional. If a DrawText method is called outside of a Begin and ID3DXFont::End pair, then Microsoft® Direct3D® will call Begin and End.
Header: Declared in D3dx8core.h.
Import Library: Use D3dx8.lib.