Share via


RenderToEnvironmentMap.BeginSphere(Texture) Method (Microsoft.DirectX.Direct3D)

Initiates the rendering of a spherical environment map.

Definition

Visual Basic Public Sub BeginSphere( _
    ByVal texture As Texture _
)
C# public void BeginSphere(
    Texture texture
);
C++ public:
void BeginSphere(
    Texturetexture
);
JScript public function BeginSphere(
    texture : Texture
);

Parameters

texture Microsoft.DirectX.Direct3D.Texture
A Texture object that represents the texture to render.

Remarks

Exceptions

InvalidCallException

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

See Also