?/TD> |
Microsoft DirectX 9.0 |
Begins a scene for an environmental cube map.
Syntax
HRESULT BeginCube(
LPDIRECT3DCUBETEXTURE9 pCubeTex );
Parameters
- pCubeTex
- [in] Pointer to an IDirect3DCubeTexture9 interface that represents the cube texture to render to.
Return Value
If the method succeeds, the return value is D3D_OK.
If the method fails, the return value can be D3DERR_INVALIDCALL.
See Also
ID3DXRenderToEnvMap::End