Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.Graphics.BlendState Class Reference

Public Member Functions

 BlendState ()
 
override string ToString ()
 
virtual void Dispose ()
 

Static Public Attributes

static readonly BlendState Opaque = new BlendState(Blend.One, Blend.Zero, "BlendState.Opaque")
 
static readonly BlendState AlphaBlend = new BlendState(Blend.One, Blend.InverseSourceAlpha, "BlendState.AlphaBlend")
 
static readonly BlendState Additive = new BlendState(Blend.SourceAlpha, Blend.One, "BlendState.Additive")
 
static readonly BlendState NonPremultiplied = new BlendState(Blend.SourceAlpha, Blend.InverseSourceAlpha, "BlendState.NonPremultiplied")
 

Protected Member Functions

override void Dispose ([MarshalAs(UnmanagedType.U1)] bool P_0)
 
void raise_Disposing (object value0, EventArgs value1)
 

Protected Attributes

GraphicsDevice _parent
 

Package Functions

unsafe void Apply (GraphicsDevice device)
 
void ThrowIfBound ()
 

Package Attributes

Blend cachedColorSourceBlend
 
Blend cachedColorDestinationBlend
 
BlendFunction cachedColorBlendFunction
 
Blend cachedAlphaSourceBlend
 
Blend cachedAlphaDestinationBlend
 
BlendFunction cachedAlphaBlendFunction
 
ColorWriteChannels cachedColorWriteChannels
 
ColorWriteChannels cachedColorWriteChannels1
 
ColorWriteChannels cachedColorWriteChannels2
 
ColorWriteChannels cachedColorWriteChannels3
 
Color cachedBlendFactor
 
int cachedMultiSampleMask
 
bool isBound
 
bool blendEnable
 
bool separateAlphaBlend
 
_D3DBLEND d3dColorSourceBlend
 
_D3DBLEND d3dColorDestinationBlend
 
_D3DBLENDOP d3dColorBlendFunction
 
_D3DBLEND d3dAlphaSourceBlend
 
_D3DBLEND d3dAlphaDestinationBlend
 
_D3DBLENDOP d3dAlphaBlendFunction
 
uint d3dBlendFactor
 
uint stateTrackerFlags
 
ulong _internalHandle
 
bool isDisposed
 

Properties

int MultiSampleMask [get, set]
 
Color BlendFactor [get, set]
 
ColorWriteChannels ColorWriteChannels3 [get, set]
 
ColorWriteChannels ColorWriteChannels2 [get, set]
 
ColorWriteChannels ColorWriteChannels1 [get, set]
 
ColorWriteChannels ColorWriteChannels [get, set]
 
BlendFunction AlphaBlendFunction [get, set]
 
Blend AlphaDestinationBlend [get, set]
 
Blend AlphaSourceBlend [get, set]
 
BlendFunction ColorBlendFunction [get, set]
 
Blend ColorDestinationBlend [get, set]
 
Blend ColorSourceBlend [get, set]
 
bool IsDisposed [get]
 
object Tag [get, set]
 
string Name [get, set]
 
GraphicsDevice GraphicsDevice [get]
 
EventHandler< EventArgsDisposing
 

Private Member Functions

void SetDefaults ()
 
 BlendState (Blend sourceBlend, Blend destinationBlend, string name)
 
void _007EBlendState ()
 
void _0021GraphicsResource ()
 
void _007EGraphicsResource ()
 

Private Attributes

string _localName
 
object _localTag
 
EventHandler< EventArgs_003Cbacking_store_003EDisposing
 

Detailed Description

Definition at line 8 of file BlendState.cs.


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