szabolcsdombi / zengl

OpenGL Rendering Pipelines for Python
https://zengl.readthedocs.io/
MIT License
176 stars 10 forks source link

Supporting not just dynamic buffers #47

Closed szabolcsdombi closed 11 months ago

szabolcsdombi commented 11 months ago

From the OpenGL docs:

The frequency of access may be one of these:

STREAM The data store contents will be modified once and used at most a few times.

STATIC The data store contents will be modified once and used many times.

DYNAMIC The data store contents will be modified repeatedly and used many times.

The nature of access may be one of these:

DRAW The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.

READ The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.

COPY The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.