beatmup.gl.VariablesBundle¶
- class beatmup.gl.VariablesBundle¶
Collection storing GLSL program parameters (scalars, matrices, vectors) to communicate them from user to GPU-managing thread
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)set_float
(*args, **kwargs)Overloaded function.
set_float_array
(self, name, values)Sets a float array variable value
set_float_matrix2
(self, name, matrix)Sets a float 2*2 matrix variable value
set_float_matrix3
(self, name, matrix)Sets a float 3*3 matrix variable value
set_float_matrix4
(self, name, matrix)Sets a float 4*4 matrix variable value
set_integer
(*args, **kwargs)Overloaded function.