organisation des donnees (attributs/indices) dans un buffer More...
#include <TPBuffer.h>
Public Types | |
enum | { NORMALIZE_BIT = 1, INTEGER_BIT = 2 } |
Public Member Functions | |
BufferLayout (const int _size, const GLenum _type, const unsigned long int _stride, const unsigned long int _offset=0, const int _divisor=0, const unsigned int flags=0) | |
const GLvoid * | getOffset (const unsigned int begin=0) |
bool | operator== (const BufferLayout &b) const |
bool | operator!= (const BufferLayout &b) const |
bool | operator< (const BufferLayout &b) const |
Public Attributes | |
int | size |
GLenum | type |
unsigned long int | stride |
unsigned long int | offset |
unsigned long int | length |
int | divisor |
bool | normalize_flag |
bool | integer_flag |
Friends | |
bool | less (const BufferLayout &a, const BufferLayout &b) |
organisation des donnees (attributs/indices) dans un buffer