- java.lang.Object
-
- org.praxislive.video.render.Surface
-
- Direct Known Subclasses:
BufferedImageSurface
,PGLSurface
public abstract class Surface extends Object
-
-
Constructor Summary
Constructors Constructor Description Surface(int width, int height, boolean alpha)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
checkCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)
abstract void
clear()
abstract void
copy(Surface source)
Surface
createSurface()
abstract Surface
createSurface(int width, int height, boolean alpha)
int
getHeight()
abstract int
getModCount()
int
getWidth()
boolean
hasAlpha()
abstract boolean
isClear()
void
process(SurfaceOp op)
void
process(SurfaceOp op, Surface input)
abstract void
process(SurfaceOp op, Surface... inputs)
abstract void
release()
-
-
-
Method Detail
-
getWidth
public final int getWidth()
-
getHeight
public final int getHeight()
-
hasAlpha
public final boolean hasAlpha()
-
process
public void process(SurfaceOp op)
-
getModCount
public abstract int getModCount()
-
clear
public abstract void clear()
-
isClear
public abstract boolean isClear()
-
release
public abstract void release()
-
copy
public abstract void copy(Surface source)
-
checkCompatible
public abstract boolean checkCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)
-
createSurface
public abstract Surface createSurface(int width, int height, boolean alpha)
-
createSurface
public Surface createSurface()
-
-