Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Graphics.BlendState Class Reference

Describes a blend state. More...

Inheritance diagram for SiliconStudio.Paradox.Graphics.BlendState:
SiliconStudio.Paradox.Graphics.GraphicsResourceBase SiliconStudio.Core.ComponentBase SiliconStudio.Core.IComponent SiliconStudio.Core.ICollectorHolder SiliconStudio.Core.IReferencable SiliconStudio.Core.IReferencable SiliconStudio.Paradox.Graphics.FakeBlendState

Static Public Member Functions

static BlendState New (GraphicsDevice graphicsDevice, BlendStateDescription blendStateDescription)
 Initializes a new instance of the BlendState class. More...
 

Public Attributes

readonly BlendStateDescription Description
 Gets the blend state description. More...
 
Color4 BlendFactor
 Gets or sets the four-component (RGBA) blend factor for alpha blending. More...
 
int MultiSampleMask
 Gets or sets a bitmask which defines which samples can be written during multisampling. The default is 0xffffffff. More...
 
- Public Attributes inherited from SiliconStudio.Paradox.Graphics.GraphicsResourceBase
Action< GraphicsResourceBaseReload
 
- Public Attributes inherited from SiliconStudio.Core.ComponentBase
PropertyContainer Tags
 Gets the attached properties to this component. More...
 

Protected Member Functions

 BlendState ()
 
 BlendState (BlendStateDescription description)
 
override void Destroy ()
 Disposes of object resources. More...
 
- Protected Member Functions inherited from SiliconStudio.Paradox.Graphics.GraphicsResourceBase
 GraphicsResourceBase ()
 Initializes a new instance of the GraphicsResourceBase class. More...
 
 GraphicsResourceBase (GraphicsDevice device)
 Initializes a new instance of the GraphicsResourceBase class. More...
 
 GraphicsResourceBase (GraphicsDevice device, string name)
 Initializes a new instance of the GraphicsResourceBase class. More...
 
override void Destroy ()
 Disposes of object resources. More...
 
- Protected Member Functions inherited from SiliconStudio.Core.ComponentBase
 ComponentBase ()
 Initializes a new instance of the ComponentBase class. More...
 
 ComponentBase (string name)
 Initializes a new instance of the ComponentBase class. More...
 
virtual void OnNameChanged ()
 Called when Name property was changed. More...
 

Additional Inherited Members

- Public Member Functions inherited from SiliconStudio.Core.ComponentBase
void Dispose ()
 
override string ToString ()
 
- Properties inherited from SiliconStudio.Paradox.Graphics.GraphicsResourceBase
GraphicsDevice GraphicsDevice [get, set]
 Gets the graphics device attached to this instance. More...
 
- Properties inherited from SiliconStudio.Core.ComponentBase
long Id [get, set]
 
string Name [get, set]
 Gets or sets the name of this component. More...
 
bool IsDisposed [get, set]
 Has the component been disposed or not yet. More...
 
- Properties inherited from SiliconStudio.Core.IComponent
long Id [get]
 Gets the id of this component. More...
 
string Name [get]
 Gets the name of this component. More...
 
- Properties inherited from SiliconStudio.Core.IReferencable
int ReferenceCount [get]
 Gets the reference count of this instance. More...
 
- Properties inherited from SiliconStudio.Core.ICollectorHolder
ObjectCollector Collector [get]
 Gets the collector. More...
 

Detailed Description

Describes a blend state.

Definition at line 13 of file BlendState.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Graphics.BlendState.BlendState ( )
protected

Definition at line 16 of file BlendState.cs.

SiliconStudio.Paradox.Graphics.BlendState.BlendState ( BlendStateDescription  description)
protected

Definition at line 21 of file BlendState.cs.

Member Function Documentation

override void SiliconStudio.Paradox.Graphics.BlendState.Destroy ( )
protectedvirtual

Disposes of object resources.

Reimplemented from SiliconStudio.Core.ComponentBase.

Definition at line 50 of file BlendState.cs.

static BlendState SiliconStudio.Paradox.Graphics.BlendState.New ( GraphicsDevice  graphicsDevice,
BlendStateDescription  blendStateDescription 
)
static

Initializes a new instance of the BlendState class.

Parameters
graphicsDeviceThe graphics device.
blendStateDescriptionThe blend state description.

Definition at line 31 of file BlendState.cs.

Member Data Documentation

Color4 SiliconStudio.Paradox.Graphics.BlendState.BlendFactor

Gets or sets the four-component (RGBA) blend factor for alpha blending.

Definition at line 68 of file BlendState.cs.

readonly BlendStateDescription SiliconStudio.Paradox.Graphics.BlendState.Description

Gets the blend state description.

Definition at line 63 of file BlendState.cs.

int SiliconStudio.Paradox.Graphics.BlendState.MultiSampleMask

Gets or sets a bitmask which defines which samples can be written during multisampling. The default is 0xffffffff.

Definition at line 73 of file BlendState.cs.


The documentation for this class was generated from the following file: