Base class for render state objects. Render states become immutable once
bound to the device.
Declaration Syntax
C# |
public abstract class RenderState : GraphicsResource, ISavable
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
RenderState()()()() |
Creates a new instance of RenderState.
|
|
BindRenderState()()()() |
Binds the render state to the graphics pipeline. This is automatically called the first time the
renderstate is applied or manually called to create the underlying implementation early.
|
|
Dispose()()()() |
Dispose the resource.
(Inherited from GraphicsResource.) |
|
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
(Inherited from GraphicsResource.) |
|
Equals(Object) |
(Inherited from Object.) |
|
Finalize()()()() |
Resource finalizer
(Inherited from GraphicsResource.) |
|
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 API-specific implementation of this resource.
(Inherited from GraphicsResource.) |
|
IsBound |
Get if this render state has been bound to the pipeline.
|
|
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.) |
|
Read(ISavableReader) |
Deserializes the object and populates it from the input.
|
|
RenderStateKey |
Gets the RenderStateKey that is used to compare this state
to another state.
|
|
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.) |
|
StateType |
Get the enumeration describing this render state.
|
|
ToString()()()() |
(Inherited from Object.) |
|
Write(ISavableWriter) |
Serializes the object and writes it to the output.
|
Inheritance Hierarchy
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)