Microsoft DirectX 8.1 (C++)

ID3DXRenderToEnvMap::BeginSphere

Begins a scene for an environment map.

HRESULT BeginSphere(
  LPDIRECT3DTEXTURE8 pTex
);

Parameters

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

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 values.

D3DERR_INVALIDCALL
E_FAIL

Requirements

  Header: Declared in D3dx8core.h.
  Import Library: Use D3dx8.lib.

See Also

ID3DXRenderToEnvMap::End