public class BlendState extends GraphicsResource
Modifier and Type | Field and Description |
---|---|
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 |
_parent, Disposing, Name, Tag
Constructor and Description |
---|
BlendState()
Creates an instance of the BlendState class with default values, using additive color and alpha blending.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Dispose, finalize, getGraphicsDevice, IsDisposed, raise_disposing, toString
public static final BlendState Additive
public static final BlendState AlphaBlend
public static final BlendState NonPremultiplied
public static final BlendState Opague
public BlendState()
public BlendFunction getAlphaBlendFunction()
public void setAlphaBlendFunction(BlendFunction value)
protected void Dispose(boolean disposing)
Dispose
in class GraphicsResource