public class SwirlFilter extends AMaterial implements IPostProcessingFilter
| Constructor and Description |
|---|
SwirlFilter(float screenWidth,
float screenHeight,
float radius,
float angle) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAngle() |
float[] |
getCenter() |
float |
getRadius() |
float |
getScreenHeight() |
float |
getScreenWidth() |
float |
getTime() |
void |
setAngle(float angle) |
void |
setCenter(float x,
float y) |
void |
setRadius(float radius) |
void |
setScreenHeight(float screenHeight) |
void |
setScreenWidth(float screenWidth) |
void |
setShaders(java.lang.String vertexShader,
java.lang.String fragmentShader) |
void |
setTime(float time) |
void |
useProgram() |
boolean |
usesDepthBuffer() |
addTexture, addTexture, addTexture, bindTextures, copyTexturesTo, getModelViewMatrix, getTextureInfoList, getUseColor, reload, setCamera, setColors, setInterpolation, setLightParams, setLights, setModelMatrix, setMVPMatrix, setNextFrameNormals, setNextFrameVertices, setNormals, setShaders, setTextureCoords, setTextureCoords, setUseColor, setVertices, setViewMatrix, toString, unbindTextures, unloadequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddTexturepublic SwirlFilter(float screenWidth,
float screenHeight,
float radius,
float angle)
public boolean usesDepthBuffer()
usesDepthBuffer in interface IPostProcessingFilterpublic void useProgram()
useProgram in class AMaterialpublic void setShaders(java.lang.String vertexShader,
java.lang.String fragmentShader)
setShaders in class AMaterialpublic float getTime()
public void setTime(float time)
public float getScreenWidth()
public void setScreenWidth(float screenWidth)
public float getScreenHeight()
public void setScreenHeight(float screenHeight)
public float getRadius()
public void setRadius(float radius)
public float getAngle()
public void setAngle(float angle)
public float[] getCenter()
public void setCenter(float x,
float y)