picogl.backend.gl.api.draw.helper
A module for OpenGL draw operations using PicoGL-specific enumerations or raw gl constants.
This module provides functions to issue OpenGL draw calls, including support for custom draw modes and index types. It simplifies the process of working with OpenGL by handling conversion between PicoGL enums and raw gl constants, as well as managing pointer data for indexed draw.
Functions: - gl_draw_arrays: Wrapper for glDrawArrays supporting PicoGL enums or raw gl constants. - gl_draw_elements: Wrapper for glDrawElements with support for custom index pointers or offsets.
Functions
|
gl enum |
|
draw pointer |