mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 05:39:18 +01:00
added static param glBufferAccess to PGL to control buffer access policy during buffer streaming
This commit is contained in:
@@ -140,12 +140,15 @@ public abstract class PGL {
|
||||
// ........................................................
|
||||
|
||||
// These variables are left public so advanced users can experiment with different
|
||||
// usage modes controlling the buffer data store:
|
||||
// https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glBufferData.xhtml
|
||||
// usage modes and access policies controlling the buffer data store:
|
||||
|
||||
// https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glBufferData.xhtml
|
||||
static public int glUsageRetained;
|
||||
static public int glUsageImmediate;
|
||||
|
||||
// https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glMapBuffer.xhtml
|
||||
static public int glBufferAccess;
|
||||
|
||||
// ........................................................
|
||||
|
||||
// Variables to handle single-buffered situations (i.e.: Android)
|
||||
|
||||
Reference in New Issue
Block a user