예제 #1
0
func (a *arrayBufferLayout) disable(c *opengl.Context, program opengl.Program) {
	// TODO: Disabling should be done in reversed order?
	for _, p := range a.parts {
		c.DisableVertexAttribArray(program, p.name)
	}
}