// GetVertexAttribiv reads int values of a vertex attribute. // // http://www.khronos.org/opengles/sdk/docs/man3/html/glGetVertexAttrib.xhtml func GetVertexAttribiv(dst []int32, src Attrib, pname Enum) { gl.GetVertexAttribiv(uint32(src.Value), uint32(pname), &dst[0]) }
// GetVertexAttribi reads the int value of a vertex attribute. // // http://www.khronos.org/opengles/sdk/docs/man3/html/glGetVertexAttrib.xhtml func GetVertexAttribi(src Attrib, pname Enum) int32 { var result int32 gl.GetVertexAttribiv(uint32(src.Value), uint32(pname), &result) return result }