]> git.tdb.fi Git - gldbg.git/blob - flavors/gl/source/arraystate.h
Replace per-file license notices with License.txt
[gldbg.git] / flavors / gl / source / arraystate.h
1 #ifndef ARRAYSTATE_H_
2 #define ARRAYSTATE_H_
3
4 #include "opengl.h"
5
6 struct BufferState;
7
8 struct ArrayState
9 {
10         GLenum kind;
11         unsigned index;
12         bool enabled;
13         unsigned size;
14         GLenum type;
15         bool normalized;
16         unsigned stride;
17         BufferState *buffer;
18         long pointer;
19
20         ArrayState();
21         void set(unsigned, GLenum, bool, unsigned, BufferState *, long);
22 };
23
24 #endif