Files
2026-06-23 15:20:56 +02:00

21 lines
416 B
Cython

from kivy.graphics.cgl cimport GLuint
cdef struct vertex_t:
float x, y
float s0, t0
ctypedef struct vertex_attr_t:
char *name
unsigned int index
unsigned int size
GLuint type
unsigned int bytesize
int per_vertex
cdef class VertexFormat:
cdef vertex_attr_t *vattr
cdef long vattr_count
cdef unsigned int vsize
cdef unsigned int vbytesize
cdef object last_shader