Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initiate the rendering of a cubic environment map.
Syntax
HRESULT BeginCube(
[in] LPDIRECT3DCUBETEXTURE9 pCubeTex
);
Parameters
-
pCubeTex [in]
-
Type: LPDIRECT3DCUBETEXTURE9
Pointer to an IDirect3DCubeTexture9 interface that represents the cube texture to which to render.
Return value
Type: HRESULT
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.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also