public static class FloatFilters.ChainFilter extends FloatFilter
Modifier and Type | Field and Description |
---|---|
FloatFilter[] |
filters |
Constructor and Description |
---|
ChainFilter(FloatFilter... filters)
Takes a vararg or array of FloatFilter objects and produces a ChainFilter that will call all of them in order
on any color given to this to alter.
|
Modifier and Type | Method and Description |
---|---|
float |
alter(float color)
Takes a packed float color and produces a potentially-different packed float color that this FloatFilter edited.
|
alter
public FloatFilter[] filters
public ChainFilter(FloatFilter... filters)
filters
- an array or vararg of FloatFilter objects; none can be nullpublic float alter(float color)
alter
in class FloatFilter
color
- a packed float color, as produced by Color.toFloatBits()
Color.toFloatBits()
Copyright © Eben Howard 2012–2022. All rights reserved.