| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public boolean | blended
Whether this material should be considered blended (default: true). |
| public int | destFunction
Specifies how the (existing) red, green, blue, and alpha destination blending factors are computed (default: GL_ONE_MINUS_SRC_ALPHA) |
| public float | opacity
The opacity used as source alpha value, ranging from 0 (fully transparent) to 1 (fully opaque), (default: 1). |
| public int | sourceFunction
Specifies how the (incoming) red, green, blue, and alpha source blending factors are computed (default: GL_SRC_ALPHA) |
| public static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | BlendingAttribute(final boolean blended, final int sourceFunc, final int destFunc, final float opacity)
|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(Attribute o)
Implements java. Compares this object with the specified object for order. |
| public BlendingAttribute | |
| public int | hashCode()
Overrides com. Returns a hash code value for this object. |
| public static final boolean |
| Alias | back to summary |
|---|---|
| public static final String Alias | |
| blended | back to summary |
|---|---|
| public boolean blended Whether this material should be considered blended (default: true). This is used for sorting (back to front instead of front to back). | |
| destFunction | back to summary |
|---|---|
| public int destFunction Specifies how the (existing) red, green, blue, and alpha destination blending factors are computed (default: GL_ONE_MINUS_SRC_ALPHA) | |
| opacity | back to summary |
|---|---|
| public float opacity The opacity used as source alpha value, ranging from 0 (fully transparent) to 1 (fully opaque), (default: 1). | |
| sourceFunction | back to summary |
|---|---|
| public int sourceFunction Specifies how the (incoming) red, green, blue, and alpha source blending factors are computed (default: GL_SRC_ALPHA) | |
| Type | back to summary |
|---|---|
| public static final long Type | |
| BlendingAttribute | back to summary |
|---|---|
| public BlendingAttribute() | |
| BlendingAttribute | back to summary |
|---|---|
| public BlendingAttribute(final boolean blended, final int sourceFunc, final int destFunc, final float opacity) | |
| BlendingAttribute | back to summary |
|---|---|
| public BlendingAttribute(final int sourceFunc, final int destFunc, final float opacity) | |
| BlendingAttribute | back to summary |
|---|---|
| public BlendingAttribute(final int sourceFunc, final int destFunc) | |
| BlendingAttribute | back to summary |
|---|---|
| public BlendingAttribute(final boolean blended, final float opacity) | |
| BlendingAttribute | back to summary |
|---|---|
| public BlendingAttribute(final float opacity) | |
| BlendingAttribute | back to summary |
|---|---|
| public BlendingAttribute(final BlendingAttribute copyFrom) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Attribute o) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| copy | back to summary |
|---|---|
| public BlendingAttribute copy() Implements abstract com.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides com. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| is | back to summary |
|---|---|
| public static final boolean is(final long mask) | |