floatAttribSetter method
Implementation
floatAttribSetter(OpenGLContextES gl, int index, [typeInfo]) {
return (AttributeBufferInfo b) {
gl.bindBuffer(gl.ARRAY_BUFFER, b.buffer);
gl.enableVertexAttribArray(index);
gl.vertexAttribPointer(index, b.numComponents, b.type, b.normalize, b.stride, b.offset);
};
}