gamnit :: Attribute :: array_enabled=
array_pointer
over uniform
.
# Set whether to use the data at `array_pointer` over `uniform`.
fun array_enabled=(value: Bool)
do
if not is_active then return
glUseProgram program
self.array_enabled_cache = value
if value then
glEnableVertexAttribArray location
else glDisableVertexAttribArray location
end
lib/gamnit/programs.nit:74,2--85,4