- 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 classPGLSurface.Data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected processing.core.PImageasImage()booleancheckCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)voidclear()voidcopy(Surface source)PGLSurfacecreateSurface()PGLSurfacecreateSurface(int width, int height, boolean alpha)PGLContextgetContext()PGLGraphicsgetGraphics()intgetModCount()booleanisClear()voidprocess(SurfaceOp op, Surface... inputs)voidrelease()
-
-
-
Method Detail
-
getGraphics
public PGLGraphics getGraphics()
-
asImage
protected processing.core.PImage asImage()
-
getContext
public PGLContext getContext()
-
getModCount
public int getModCount()
- Specified by:
getModCountin classSurface
-
checkCompatible
public boolean checkCompatible(Surface surface, boolean checkDimensions, boolean checkAlpha)
- Specified by:
checkCompatiblein classSurface
-
createSurface
public PGLSurface createSurface()
- Overrides:
createSurfacein classSurface
-
createSurface
public PGLSurface createSurface(int width, int height, boolean alpha)
- Specified by:
createSurfacein classSurface
-
-