gamnit :: AttributeVec4 :: defaultinit
# Shader attribute of GLSL type `vec4`
class AttributeVec4
super Attribute
# Set the uniform value to use when the vertex array is disabled
fun uniform(x, y, z, w: Float) do if is_active then glVertexAttrib4f(location, x, y, z, w)
end
lib/gamnit/programs.nit:133,1--139,3