Share via


RenderToEnvironmentMap.Face(CubeMapFace,Int32) Method (Microsoft.DirectX.Direct3D)

Initiates the drawing of each face of an environment map.

Definition

Visual Basic Public Sub Face( _
    ByVal face As CubeMapFace, _
    ByVal faceMapFilter As Integer _
)
C# public void Face(
    CubeMapFace face,
    int faceMapFilter
);
C++ public:
void Face(
    CubeMapFace face,
    int faceMapFilter
);
JScript public function Face(
    face : CubeMapFace,
    faceMapFilter : int
);

Parameters

face Microsoft.DirectX.Direct3D.CubeMapFace
A CubeMapFace object that represents the first face of the environmental cube map.
faceMapFilter System.Int32
Valid combination of Filter enumeration values.

Remarks

Exceptions

InvalidCallException

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