View definition

(Context).VertexAttribPointer

Defined in github.com/golang/mobile/gl/interface.go

Description

VertexAttribPointer uses a bound buffer to define vertex attribute data.

Direct use of VertexAttribPointer to load data into OpenGL is not supported via the Go bindings. Instead, use BindBuffer with an ARRAY_BUFFER and then fill it using BufferData.

The size argument specifies the number of components per attribute, between 1-4. The stride argument specifies the byte offset between consecutive vertex attributes.

http://www.khronos.org/opengles/sdk/docs/man3/html/glVertexAttribPointer.xhtml

VertexAttribPointer is referenced in 11 repositories

github.com/golang/mobile github.com/ianremmler/trigo github.com/golang/exp

...