CampBuddy/Camp.Buddy v2.2.1/Camp_Buddy-2.2.1-pc/renpy/gl2/gl2shader.pxd
2025-03-03 23:00:33 +01:00

21 lines
443 B
Cython

from uguugl cimport *
cdef class Program:
# The name of this program.
cdef public object name
# The number of the OpenGL program created.
cdef GLuint program
# The text of the vertex and fragment shaders.
cdef object vertex
cdef object fragment
cdef public dict uniforms
cdef public list attributes
cdef public int sampler
cdef GLuint load_shader(self, GLenum shader_type, source) except? 0