- java.lang.Object
-
- org.praxislive.video.render.Surface
-
- org.praxislive.video.pgl.PGLSurface
-
public final class PGLSurface extends Surface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PGLSurface.Data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected processing.core.PImage
asImage()
boolean
checkCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)
void
clear()
void
copy(Surface source)
PGLSurface
createSurface()
PGLSurface
createSurface(int width, int height, boolean alpha)
PGLContext
getContext()
PGLGraphics
getGraphics()
int
getModCount()
boolean
isClear()
void
process(SurfaceOp op, Surface... inputs)
void
release()
-
-
-
Method Detail
-
getGraphics
public PGLGraphics getGraphics()
-
asImage
protected processing.core.PImage asImage()
-
getContext
public PGLContext getContext()
-
getModCount
public int getModCount()
- Specified by:
getModCount
in classSurface
-
checkCompatible
public boolean checkCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)
- Specified by:
checkCompatible
in classSurface
-
createSurface
public PGLSurface createSurface()
- Overrides:
createSurface
in classSurface
-
createSurface
public PGLSurface createSurface(int width, int height, boolean alpha)
- Specified by:
createSurface
in classSurface
-
-