Partager via


BaseTexture.op_Equality(BaseTexture,BaseTexture) Method (Microsoft.DirectX.Direct3D)

Compares the current instance of a class to another instance to determine whether they are the same.

Definition

Visual Basic Public Shared Function op_Equality( _
    ByVal left As BaseTexture, _
    ByVal right As BaseTexture _
) As Boolean
C# public static bool op_Equality(
    BaseTexture left,
    BaseTexture right
);
C++ public:
static bool operator==(
    BaseTextureleft,
    BaseTextureright
);
JScript public static function op_Equality(
    left : BaseTexture,
    right : BaseTexture
) : boolean;

Parameters

left Microsoft.DirectX.Direct3D.BaseTexture
The BaseTexture object to the left of the equality operator.
right Microsoft.DirectX.Direct3D.BaseTexture
The BaseTexture object to the right of the equality operator.

Return Value

System.Boolean
Returns true if the objects are the same; otherwise, false.

Applies To

CubeTexture, Texture, VolumeTexture