![]() |
![]() |
Initiate the rendering of a spherical environment map.
HRESULT BeginSphere( LPDIRECT3DTEXTURE9 pTex );
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL.
E_FAILSee ID3DXRenderToEnvMap::Face to draw the face.
Header: Declared in D3dx9core.h.