Texture.UnlockRectangle(Int32) Method (Microsoft.DirectX.Direct3D)

Unlocks a rectangle on a texture resource.

Definition

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

Parameters

level System.Int32
Level of the texture resource to unlock.

Remarks

Exceptions

InvalidCallException

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

See Also