CubeTexture.UnlockRectangle(CubeMapFace,Int32) Method (Microsoft.DirectX.Direct3D)

Unlocks a rectangle on a cube texture resource.

Definition

Visual Basic Public Sub UnlockRectangle( _
    ByVal faceType As CubeMapFace, _
    ByVal level As Integer _
)
C# public void UnlockRectangle(
    CubeMapFace faceType,
    int level
);
C++ public:
void UnlockRectangle(
    CubeMapFace faceType,
    int level
);
JScript public function UnlockRectangle(
    faceType : CubeMapFace,
    level : int
);

Parameters

faceType Microsoft.DirectX.Direct3D.CubeMapFace
Member of the CubeMapFace enumerated type that identifies a cube map face.
level System.Int32
Level of a mipmapped cube texture.

Remarks

Exceptions

InvalidCallException

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

See Also