picogl.backend.gl.driver.geometry
Mesh binding and indexed draw operations.
Handles the binding of GPU-based meshes and facilitates drawing operations using various strategies, including indexed draw and array draw functionalities. Provides both static and class methods for drawing operations.
- Classes:
GLGeometryDriver: Utility for binding, drawing, 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.