test-kivy-app/kivy_venv/lib/python3.11/site-packages/kivy/graphics/vertex.pxd

21 lines
416 B
Cython
Raw Normal View History

2024-09-15 12:12:16 +00:00
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