public interface ITextureEffect
| Modifier and Type | Method and Description |
|---|---|
void |
apply(int[] dest,
int[] source)
Applies the effect.
|
boolean |
containsAlpha()
If this returns true, jPCT assumes that the alpha channel in the returned pixels
is populated and treats it accordingly.
|
void |
init(Texture tex)
Initializes the effect.
|
void init(Texture tex)
tex - the Texture to which the effect should be appliedTexture.setEffect(com.threed.jpct.ITextureEffect)void apply(int[] dest,
int[] source)
dest - the destination bitmapsource - the source bitmap (the unmodified texture)boolean containsAlpha()