Partager via


VolumeTexture.op_Equality(VolumeTexture,VolumeTexture) 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 VolumeTexture, _
    ByVal right As VolumeTexture _
) As Boolean
C# public static bool op_Equality(
    VolumeTexture left,
    VolumeTexture right
);
C++ public:
static bool operator==(
    VolumeTextureleft,
    VolumeTextureright
);
JScript public static function op_Equality(
    left : VolumeTexture,
    right : VolumeTexture
) : boolean;

Parameters

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

Return Value

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