Collection for the three main render states - Blend, DepthStencil, and Rasterizer. Setting a SamplerState to this
list is meaningless and will be ignored.
Declaration Syntax
C# |
public sealed class RenderStateList : IEnumerable<RenderState>, IEnumerable
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
RenderStateList()()()() |
Creates a new render state list.
|
|
Clear()()()() |
Clears all render states and sets their values to null.
|
|
DefaultBlendState |
Gets the default blend state used by the engine.
|
|
DefaultDepthStencilState |
Gets the default depth stencil state used by the engine.
|
|
DefaultRasterizerState |
Gets the default rasterizer state used by the engine.
|
|
DefaultSamplerState |
Gets the default sampler state used by the engine.
|
|
Equals(Object) |
(Inherited from Object.) |
|
GetEnumerator()()()() |
Get the collection's enumerator.
|
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
Item[([( RenderStateType])]) |
Gets or sets the render state based on type. If type is sampler state,
null will return or setting will be ignored.
|
|
Length |
Gets the number of render states contained, which is 3.
|
|
ToString()()()() |
(Inherited from Object.) |
Inheritance Hierarchy
Object | |
RenderStateList |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)