ID3DXRenderToEnvMap::BeginSphere

Initiate the rendering of a spherical environment map.

HRESULT BeginSphere(
  LPDIRECT3DTEXTURE9 pTex
);

Parameters

pTex
[in] Pointer to an IDirect3DTexture9 interface that represents the texture to which to render.

Return Values

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_FAIL

Remarks

See ID3DXRenderToEnvMap::Face to draw the face.

Requirements

Header: Declared in D3dx9core.h.

See Also

ID3DXRenderToEnvMap::End