StateBlock Members
The following tables list the members exposed by the StateBlock type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
StateBlock | Initializes a new instance of the StateBlock class. |
Public Properties
Name | Description | |
---|---|---|
![]() |
GraphicsDevice | Gets the GraphicsDevice associated with this StateBlock. |
![]() |
IsDisposed | Gets a value that indicates whether the object is disposed. |
![]() |
Name | Gets or sets the name of the StateBlock. |
![]() |
Tag | Gets or sets the resource manager tag for the StateBlock. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Apply | Applies the state block to the current GraphicsDevice. |
![]() |
Capture | Captures the current value of states that are included in a state block. |
![]() |
Dispose | Overloaded. Immediately releases the unmanaged resources used by this object. |
![]() |
Equals | Overloaded. Returns 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. |
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). |