public class BlendingAttribute extends Attribute
Modifier and Type | Field and Description |
---|---|
static String |
Alias |
boolean |
blended
Whether this material should be considered blended (default: true).
|
int |
destFunction
Specifies how the (existing) red, green, blue, and alpha destination blending factors are computed (default:
GL_ONE_MINUS_SRC_ALPHA)
|
float |
opacity
The opacity used as source alpha value, ranging from 0 (fully transparent) to 1 (fully opaque), (default: 1).
|
int |
sourceFunction
Specifies how the (incoming) red, green, blue, and alpha source blending factors are computed (default: GL_SRC_ALPHA)
|
static long |
Type |
Constructor and Description |
---|
BlendingAttribute() |
BlendingAttribute(BlendingAttribute copyFrom) |
BlendingAttribute(boolean blended,
float opacity) |
BlendingAttribute(boolean blended,
int sourceFunc,
int destFunc,
float opacity) |
BlendingAttribute(float opacity) |
BlendingAttribute(int sourceFunc,
int destFunc) |
BlendingAttribute(int sourceFunc,
int destFunc,
float opacity) |
Modifier and Type | Method and Description |
---|---|
BlendingAttribute |
copy() |
int |
hashCode() |
static boolean |
is(long mask) |
equals, getAttributeAlias, getAttributeType, toString
public static final String Alias
public static final long Type
public boolean blended
public int sourceFunction
public int destFunction
public float opacity
public BlendingAttribute()
public BlendingAttribute(boolean blended, int sourceFunc, int destFunc, float opacity)
public BlendingAttribute(int sourceFunc, int destFunc, float opacity)
public BlendingAttribute(int sourceFunc, int destFunc)
public BlendingAttribute(boolean blended, float opacity)
public BlendingAttribute(float opacity)
public BlendingAttribute(BlendingAttribute copyFrom)
public static final boolean is(long mask)
public BlendingAttribute copy()
Copyright © 2014. All Rights Reserved.