?/TD> |
Microsoft DirectX 9.0 |
Begins a scene for a spherical environment map.
Syntax
HRESULT BeginSphere(
LPDIRECT3DTEXTURE9 pTex );
Parameters
- pTex
- [in] Pointer to an IDirect3DTexture9 interface that represents the texture to render to.
Return Value
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 The method call is invalid. For example, a method's parameter may have an invalid value. E_FAIL An undetermined error occurred inside the Microsoft?Direct3D?subsystem.
See Also
ID3DXRenderToEnvMap::End