picogl.backend.gl.driver.geometry
Mesh binding and indexed draw operations.
Handles the binding of GPU-based meshes and facilitates draw operations using various strategies, including indexed draw and array draw functionalities. Provides both static and class methods for draw operations.
- Classes:
GLGeometryDriver: Utility for binding, draw, and managing GPU meshes.
Classes
Mesh binding and indexed draw operations. |
Module Contents
- class picogl.backend.gl.driver.geometry.GLGeometryDriver(binding: picogl.backend.opengl.GLBindingStrategy)[source]
Mesh binding and indexed draw operations.
- draw_gpu_mesh(gpu_mesh: picogl.backend.geometry.mesh.GPUMesh, mode) None[source]
Bind and draw a uploaded GPU mesh.