|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMicrosoft.Xna.Framework.Graphics.GraphicsResource
Microsoft.Xna.Framework.Graphics.BlendState
public class BlendState
Contains blend state for the device.
Field Summary | |
---|---|
static BlendState |
Additive
A built-in state object with settings for additive blend, that is adding the destination data to the source data without using alpha. |
static BlendState |
AlphaBlend
A built-in state object with settings for alpha blend, that is blending the source and destination data using alpha. |
static BlendState |
NonPremultiplied
|
static BlendState |
Opague
|
Fields inherited from class Microsoft.Xna.Framework.Graphics.GraphicsResource |
---|
_parent, Disposing, Name, Tag |
Constructor Summary | |
---|---|
BlendState()
Creates an instance of the BlendState class with default values, using additive color and alpha blending. |
Method Summary | |
---|---|
protected void |
Dispose(boolean disposing)
Immediately releases the unmanaged resources used by this object. |
BlendFunction |
getAlphaBlendFunction()
Gets the arithmetic operation when blending alpha values. |
void |
setAlphaBlendFunction(BlendFunction value)
Sets the arithmetic operation when blending alpha values. |
Methods inherited from class Microsoft.Xna.Framework.Graphics.GraphicsResource |
---|
Dispose, finalize, GraphicsDevice, IsDisposed, raise_disposing, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final BlendState Additive
public static final BlendState AlphaBlend
public static final BlendState NonPremultiplied
public static final BlendState Opague
Constructor Detail |
---|
public BlendState()
Method Detail |
---|
public BlendFunction getAlphaBlendFunction()
public void setAlphaBlendFunction(BlendFunction value)
protected void Dispose(boolean disposing)
Dispose
in class GraphicsResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |