Module org.praxislive.video.code
Annotation Type OffScreen
-
@Retention(RUNTIME) public @interface OffScreen
Annotate a PGraphics field as an additional offscreen buffer.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description OffScreen.Format
format
The pixel format of the buffer.int
height
Provide a fixed height for the offscreen buffer.boolean
persistent
Whether to persist the contents of the offscreen buffer between frames.double
scaleHeight
Provide a scaling factor for the height.double
scaleWidth
Provide a scaling factor for the width.int
width
Provide a fixed width for the offscreen buffer.
-
-
-
-
format
OffScreen.Format format
The pixel format of the buffer. The default value ofOffScreen.Format.Default
will match the output surface.- Returns:
- format (Default, RGB, ARGB)
- Default:
- org.praxislive.video.code.userapi.OffScreen.Format.Default
-
-