Ends a scene that was begun by calling IDirect3DDevice9::BeginScene. Syntax C++ HRESULT EndScene(); Parameters This method has no parameters. Return value Type: HRESULT If the method succeeds, the return value is D3D_OK. The method will fail with D3DERR_INVALIDCALL if IDirect3DDevice9::BeginScene is called while already in a IDirect3DDevice9::BeginScene/IDirect3DDevice9::EndScene pair. This happ..
Begins a scene. Syntax C++ HRESULT BeginScene(); Parameters This method has no parameters. Return value Type: HRESULT If the method succeeds, the return value is D3D_OK. The method will fail with D3DERR_INVALIDCALL if IDirect3DDevice9::BeginScene is called while already in a IDirect3DDevice9::BeginScene/IDirect3DDevice9::EndScene pair. This happens only when IDirect3DDevice9::BeginScene is calle..
Clears one or more surfaces such as a render target, multiple render targets, a stencil buffer, and a depth buffer. HRESULT Clear( [in] DWORD Count, [in] const D3DRECT *pRects, [in] DWORD Flags, [in] D3DCOLOR Color, [in] float Z, [in] DWORD Stencil ); Parameters Count [in] Type: DWORD Number of rectangles in the array at pRects. Must be set to 0 if pRects is NULL. May not be 0 if pRects is a val..
Create an IDirect3D9 object and return an interface to it. syntax C++ IDirect3D9* Direct3DCreate9( UINT SDKversion ); Parameters SDKVersion: The value of this parameter should be D3D_SDK_VERSION. SeeRemarks. Return value If successful, this function returns a pointer to an IDirect3D9 interface; oterwise, a NULL pointer is returned. Remarks The Direct3D object is the first Direct3D COM object tha..