Share via


RenderToEnvironmentMap.BeginCube(CubeTexture) Method (Microsoft.DirectX.Direct3D)

Initiates the rendering of a cubic environment map.

Definition

Visual Basic Public Sub BeginCube( _
    ByVal cubeTexture As CubeTexture _
)
C# public void BeginCube(
    CubeTexture cubeTexture
);
C++ public:
void BeginCube(
    CubeTexturecubeTexture
);
JScript public function BeginCube(
    cubeTexture : CubeTexture
);

Parameters

cubeTexture Microsoft.DirectX.Direct3D.CubeTexture
A CubeTexture object that represents the cube texture to render.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also