?/TD>
Microsoft DirectX 9.0

ID3DXRenderToEnvMap::Face Method


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

Syntax

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 Value

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.





© 2002 Microsoft Corporation. All rights reserved.