Microsoft DirectX 8.1 (C++)

ID3DXRenderToEnvMap::Face

Ends the current scene if one is active and begins a new scene on the specified face.

HRESULT Face(
  D3DCUBEMAP_FACES Face
);

Parameters

Face
[in] D3DCUBEMAP_FACES enumerated type that specifies which face of the environmental cube map to begin a scene for.

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.