Effect Members
The following tables list the members exposed by the Effect type.
Public Constructors
Name | Description | |
---|---|---|
Effect | Overloaded. Initializes a new instance of this class. |
Public Properties
Name | Description | |
---|---|---|
Creator | Gets the name of the effect creator. | |
CurrentTechnique | Gets or sets the active technique. | |
EffectPool | Gets an EffectPool representing the pool of shared parameters. | |
Functions | Gets a collection of functions that can render the effect. | |
GraphicsDevice | Gets the graphics device that created the effect. | |
IsDisposed | Gets a value that indicates whether the object is disposed. | |
Parameters | Gets a collection of parameters used for this effect. | |
Techniques | Gets a collection of techniques that are defined for this effect. |
Public Methods
Name | Description | |
---|---|---|
Begin | Overloaded. Begins application of the active technique. | |
Clone | Creates a clone of an effect. | |
CommitChanges | Propagates the state change that occurs inside of an active pass to the device before rendering. | |
CompileEffectFromFile | Overloaded. Compiles an effect from a file or stream containing the effect source code. | |
CompileEffectFromSource | Compiles an effect from a string containing the effect source code. | |
Disassemble | Overloaded. Disassembles an effect. | |
Dispose | Overloaded. Immediately releases the unmanaged resources used by this object. | |
End | Ends the application of the current technique. | |
Equals | Overloaded. Gets a value that indicates whether the current instance is equal to a specified object. | |
GetHashCode | Gets the hash code for this instance. | |
GetType | (Inherited from Object.) | |
op_Equality | Compares two objects to determine whether they are the same. | |
op_Inequality | Compares two objects to determine whether they are different. | |
ReferenceEquals | (Inherited from Object.) | |
ToString | Retrieves a string representation of this object. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. | |
MemberwiseClone | (Inherited from Object.) | |
raise_Disposing | Raises the Disposing event when called from within a derived class. | |
raise_Lost | Raises an Lost event when called from within a derived class. | |
raise_Reset | Raises an Reset event when called from within a derived class. |
Public Events
Name | Description | |
---|---|---|
Disposing | Occurs when Dispose is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime (CLR). | |
Lost | Occurs when an object is lost, normally just before a device is reset. | |
Reset | Occurs after the device is reset. |