mirror of
https://github.com/processing/processing4.git
synced 2026-02-27 09:14:36 +01:00
getCanvas() in PGL so libraries can access the native surface
This commit is contained in:
@@ -334,6 +334,13 @@ public abstract class PGL {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return the native canvas the OpenGL context associated to this PGL object
|
||||
* is rendering to (if any).
|
||||
*/
|
||||
public abstract Object getCanvas();
|
||||
|
||||
|
||||
protected abstract void setFps(float fps);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user