reorder VertexArray struct
This commit is contained in:
parent
63efe9e167
commit
1fcf42263a
|
@ -70,12 +70,12 @@ const (
|
||||||
// From the user's points of view, VertexArray is an array of vertices that can be drawn.
|
// From the user's points of view, VertexArray is an array of vertices that can be drawn.
|
||||||
type VertexArray struct {
|
type VertexArray struct {
|
||||||
parent Doer
|
parent Doer
|
||||||
|
vao uint32
|
||||||
|
vbo uint32
|
||||||
format VertexFormat
|
format VertexFormat
|
||||||
stride int
|
stride int
|
||||||
count int
|
count int
|
||||||
attrs map[Attr]int
|
attrs map[Attr]int
|
||||||
vao uint32
|
|
||||||
vbo uint32
|
|
||||||
mode VertexDrawMode
|
mode VertexDrawMode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue