19 lines
273 B
C
19 lines
273 B
C
|
#ifndef __VERTEX_H__
|
||
|
#define __VERTEX_H__
|
||
|
|
||
|
#include <stddef.h>
|
||
|
|
||
|
typedef struct VertexAttrib {
|
||
|
int type;
|
||
|
size_t size;
|
||
|
int count;
|
||
|
} VertexAttrib;
|
||
|
|
||
|
typedef struct VertexLayout {
|
||
|
VertexAttrib* data;
|
||
|
size_t size;
|
||
|
size_t capacity;
|
||
|
} VertexLayout;
|
||
|
|
||
|
#endif
|