gamnit :: AttributeFloat :: defaultinit
# Shader attribute of GLSL type `float`
class AttributeFloat
super Attribute
# Set the uniform value to use when the vertex array is disabled
fun uniform(x: Float) do if is_active then glVertexAttrib1f(location, x)
end
lib/gamnit/programs.nit:109,1--115,3