Tesla Graphics Engine Documentation (January 2012)
RenderStateKey Structure
TeslaTesla.GraphicsRenderStateKey
Key representing a RenderState - it's type and its hash value.
Declaration Syntax
C#
public struct RenderStateKey : IEquatable<RenderStateKey>
Members
All Members Constructors Methods Properties



Icon Member Description
RenderStateKey(Int32, RenderStateType)
Creates a new RenderStateKey, initializing all fields.

Equality(RenderStateKey, RenderStateKey)
Tests RenderStateKeys for equality, their keys and render state types.

Equals(Object)
Checks for equality with the object.
(Overrides ValueType.Equals(Object).)
Equals(RenderStateKey)
Checks for equality with the other state key.

GetHashCode()()()()
Hash code for the RenderStateKey, is the key itself.
(Overrides ValueType.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(RenderStateKey, RenderStateKey)
Tests RenderStateKeys for inequality, their keys and render state types.

Key
Get the render state key, usually a hash code.

StateType
Get the state type.

ToString()()()()
Creates a string representation of the RenderStateKey
(Overrides ValueType.ToString()()()().)

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)