Share via


RenderToEnvironmentMap.BeginHemisphere(Texture,Texture) Method (Microsoft.DirectX.Direct3D)

Initiates the rendering of a hemisphere environment map.

Definition

Visual Basic Public Sub BeginHemisphere( _
    ByVal textureZPos As Texture, _
    ByVal textureZNeg As Texture _
)
C# public void BeginHemisphere(
    Texture textureZPos,
    Texture textureZNeg
);
C++ public:
void BeginHemisphere(
    TexturetextureZPos,
    TexturetextureZNeg
);
JScript public function BeginHemisphere(
    textureZPos : Texture,
    textureZNeg : Texture
);

Parameters

textureZPos Microsoft.DirectX.Direct3D.Texture
A Texture object that represents the positive texture render surface.
textureZNeg Microsoft.DirectX.Direct3D.Texture
A Texture object that represents the negative texture render surface.

Remarks

Exceptions

InvalidCallException

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

See Also