Microsoft DirectX 8.1 (C++) |
Begins the application of the technique.
HRESULT Begin( UINT* pPasses, DWORD Flags );
This method always returns the value S_OK.
This method returns the number of passes needed to render the technique. The application must incrementally call ID3DXEffect::Pass for each pass before drawing the geometry to which the effect needs to be applied. After all passes are rendered, ID3DXEffect::End must be called.
Header: Declared in D3dx8effect.h.
Import Library: Use D3dx8.lib.