Property definitions

gamnit $ UniformBool :: defaultinit
# Shader uniform of GLSL type `bool`
class UniformBool
	super Uniform

	# Set this uniform value
	fun uniform(val: Bool) do uniform_1i(location, if val then 1 else 0)
end
lib/gamnit/programs.nit:157,1--163,3