d3d9.dllBeginCube
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXRenderToEnvMap::BeginCube Method


Initiate the rendering of a cubic environment map.

Syntax

HRESULT BeginCube(      

    LPDIRECT3DCUBETEXTURE9 pCubeTex );

Parameters

pCubeTex
[in] Pointer to an IDirect3DCubeTexture9 interface that represents the cube texture to which to render.

Return Value

If the method succeeds, the return value is D3D_OK.

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



Remarks

See ID3DXRenderToEnvMap::Face to draw each of the 6 faces.

See Also

ID3DXRenderToEnvMap::End


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.