Partager via


EffectHandle Class (Microsoft.DirectX.Direct3D)

Represents a handle to specific effects.

Definition

Visual Basic NotInheritable Public Class EffectHandle
    Inherits ObjectLeave Site
C# public sealed class EffectHandle : ObjectLeave Site
C++ public ref class EffectHandle sealed : ObjectLeave Site
JScript public final class EffectHandle extends ObjectLeave Site

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
Equals Returns a value that indicates whether the current instance is equal to a specified object.
Finalize Allows the EffectHandle object to free resources before it is destroyed by the garbage collector.
static (Shared in Visual Basic) FromString Creates an effect handle object from a string.
GetHashCode Returns the hash code for the current instance.
static (Shared in Visual Basic) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic) op_Implicit This method has the same functionality as FromString, but is not supported.
static (Shared in Visual Basic) op_Inequality Compares the current instance of a class to another instance to determine whether they are different.

Inheritance Hierarchy

ObjectLeave Site

EffectHandle

Remarks

An EffectHandle object is used as a unique identifier for a specific effect. Methods that work with effects often require the effect handle object of the effect.

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492