Represents a complete set of shaders on the device used to render geometry.
An effect is made up of individual vertex/pixel shaders and 1 or more
techniques that use them. Each technique in turn has a set of 1 or more passes.
Declaration Syntax
C# |
public class Effect : GraphicsResource, ISavable
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
Effect(array<Byte>[]()[][]) |
Creates a new Effect from the specified compiled shader byte code.
|
|
Effect(IRenderSystemProvider, array<Byte>[]()[][]) |
Creates a new Effect from the specified compiled shader byte code.
|
|
Clone()()()() |
Clones the effect. This creates a new unique instance of the effect.
|
|
CurrentTechnique |
Gets or sets the currently active technique.
|
|
Dispose()()()() |
Dispose the resource.
(Inherited from GraphicsResource.) |
|
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
(Inherited from GraphicsResource.) |
|
Equals(Object) |
(Inherited from Object.) |
|
Finalize()()()() |
Releases unmanaged resources and performs other cleanup operations before the
Effect is reclaimed by garbage collection.
(Overrides GraphicsResource.Finalize()()()().) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
Implementation |
Gets the underlying effect implementation.
(Overrides GraphicsResource.Implementation.) |
|
IsDisposed |
Gets if the resource's implementation has been disposed.
(Inherited from GraphicsResource.) |
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Name |
Get or sets the name of this resource.
(Inherited from GraphicsResource.) |
|
Parameters |
Gets the collection of uniform effect parameters.
|
|
Read(ISavableReader) |
Deserializes this Effect.
|
|
RenderSystem |
Gets or protected sets the render system that created this resource.
(Inherited from GraphicsResource.) |
|
ResourceID |
Gets or sets the ResourceID of this resource. Can only be set once, usually by the renderer.
(Inherited from GraphicsResource.) |
|
Techniques |
Gets the technique collection owned by the effect.
|
|
ToString()()()() |
(Inherited from Object.) |
|
Write(ISavableWriter) |
Serializes this Effect.
|
Inheritance Hierarchy
Object | ||
GraphicsResource | ||
Effect |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)