Microsoft DirectX 8.1 (C++)

ID3DXRenderToEnvMap::BeginCube

Begins a scene for an environmental cube map.

HRESULT BeginCube(
  LPDIRECT3DCUBETEXTURE8 pCubeTex,
  );

Parameters

pCubeTex
[in] Pointer to an IDirect3DCubeTexture8 interface that represents the cube 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 D3DERR_INVALIDCALL.

Requirements

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

See Also

ID3DXRenderToEnvMap::End