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.FormatformatThe pixel format of the buffer.intheightProvide a fixed height for the offscreen buffer.booleanpersistentWhether to persist the contents of the offscreen buffer between frames.doublescaleHeightProvide a scaling factor for the height.doublescaleWidthProvide a scaling factor for the width.intwidthProvide a fixed width for the offscreen buffer.
-
-
-
-
format
OffScreen.Format format
The pixel format of the buffer. The default value ofOffScreen.Format.Defaultwill match the output surface.- Returns:
- format (Default, RGB, ARGB)
- Default:
- org.praxislive.video.code.userapi.OffScreen.Format.Default
-
-