picogl.backend.gl.api.buffer.upload
Typed helpers for uploading CPU arrays into the currently bound GL buffer.
Functions
|
Build a filled ctypes array instance (not an array type). |
|
Upload float vertex/attribute data to the bound buffer. |
|
Upload unsigned-short index data to the bound element buffer. |
Module Contents
- picogl.backend.gl.api.buffer.upload._ctypes_array(ctype, data: Sequence) ctypes.Array[source]
Build a filled ctypes array instance (not an array type).