Tesla Graphics Engine Documentation (January 2012)
BlendStateImplementation Class
TeslaTesla.Graphics.ImplementationBlendStateImplementation
Abstract class for concrete subclasses to provide the underlying implementation of BlendState.
Declaration Syntax
C#
public abstract class BlendStateImplementation : GraphicsResourceImplementation
Members
All Members Constructors Methods Properties



Icon Member Description
BlendStateImplementation()()()()
Creates a new instance of BlendStateImplementation.

AlphaBlendFunction
Gets or sets the alpha blend function.

AlphaDestinationBlend
Gets or sets the alpha destination blend.

AlphaSourceBlend
Gets or sets the alpha source blend.

BindBlendState()()()()
Binds the implementation. This is called the first time an unbound state is set to the device or manually by the user in order to create the underlying state ahead of time (best practice). Once called the state properties are read-only.

BlendEnableCount
Gets the number of render targets that blending can be enabled for.

BlendFactor
Gets or sets the blend factor color.

ColorBlendFunction
Gets or sets the color blend function.

ColorDestinationBlend
Gets or sets the color destination blend.

ColorSourceBlend
Gets or sets the color source blend.

ColorWriteChannelsCount
Gets the number of render targets that can have an independent write mask for.

Dispose()()()()
Disposes the underlying implementation.
(Inherited from GraphicsResourceImplementation.)
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from GraphicsResourceImplementation.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Releases unmanaged resources and performs other cleanup operations before the GraphicsResourceImplementation is reclaimed by garbage collection.
(Inherited from GraphicsResourceImplementation.)
GetBlendEnable(Int32)
Gets if blending is enabled for the render target index.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GetWriteChannels(Int32)
Gets the write mask used by the render target specified by its index.

IsBound
Gets or protected sets if this BlendStateImplementation has been bound to the pipeline and its underlying objects created.

IsDisposed
Gets if the resource has been disposed.
(Inherited from GraphicsResourceImplementation.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MultiSampleMask
Gets or sets the multi sample mask.

Name
Gets or sets the name of this resource.
(Inherited from GraphicsResourceImplementation.)
ResourceID
Gets or sets the resource ResourceID. It can only be set once, usually by the renderer.
(Inherited from GraphicsResourceImplementation.)
SetBlendEnable(Int32, Boolean)
Sets if blending is enabled for the render target index.

SetWriteChannels(Int32, ColorWriteChannels)
Sets the write mask used by the render target specified by its index.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy

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