Resource.op_Equality Method |
Language: |
Compares the current instance of a class to another instance to determine whether they are the same.
Visual Basic Public Shared Function op_Equality( _
ByVal left As Resource, _
ByVal right As Resource _
) As BooleanC# public static bool op_Equality(
Resource left,
Resource right
);C++ public:
static bool operator==(
Resource^ left,
Resource^ right
);JScript public static function op_Equality(
left : Resource,
right : Resource
) : boolean;
left Microsoft.DirectX.Direct3D.Resource
The Resource object to the left of the equality operator.right Microsoft.DirectX.Direct3D.Resource
The Resource object to the right of the equality operator.
System.Boolean
Returns true if the objects are the same; otherwise, false.
BaseTexture, IndexBuffer, Surface, VertexBuffer
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center