public abstract class PostprocessEffect extends Effect implements org.distorted.library.main.InternalMaster.Slave
Modifier and Type | Field and Description |
---|---|
static int |
NUM_FLOAT_UNIFORMS
5 per-effect interpolated values.
|
static int |
NUM_INT_UNIFORMS
1: the name of the effect
|
Modifier and Type | Method and Description |
---|---|
void |
setQuality(EffectQuality quality)
The higher the quality, the better the effect will look like and the slower it will be.
|
addQueue, enableEffects, getCenterDimension, getEffectDimension, getID, getName, getRegionDimension, getString, getType, isUnity, notifyWhenFinished, remQueue
public static final int NUM_FLOAT_UNIFORMS
public static final int NUM_INT_UNIFORMS
public void setQuality(EffectQuality quality)
This works by rendering into smaller and smaller intermediate buffers. Each step renders into a buffer that's half the size of the previous one.
We cannot this during mid-render - thus, give it to the Master to assign us back this job on the next render.