Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | #ifndef GL_BRENDER_STORED_CONTEXT |
2 | #define GL_BRENDER_STORED_CONTEXT |
||
3 | |||
4 | #include "brender/br_types.h" |
||
5 | #include <glad/glad.h> |
||
6 | |||
7 | typedef struct tStored_model_context { |
||
8 | br_object_dispatch* dispatch; |
||
9 | GLuint vao_id, vbo_id, ebo_id; |
||
10 | } tStored_model_context; |
||
11 | |||
12 | typedef struct tStored_pixelmap { |
||
13 | GLuint id; |
||
14 | } tStored_pixelmap; |
||
15 | |||
16 | typedef struct tStored_material { |
||
17 | int index_base; |
||
18 | int index_range; |
||
19 | br_uint_32 flags; |
||
20 | br_pixelmap* shade_table; |
||
21 | br_pixelmap* pixelmap; |
||
22 | br_pixelmap* index_blend; |
||
23 | br_matrix23 map_transform; |
||
24 | char identifier[200]; |
||
25 | } tStored_material; |
||
26 | |||
27 | tStored_model_context* NewStoredModelContext(void); |
||
28 | |||
29 | tStored_material* NewStoredMaterial(void); |
||
30 | |||
31 | tStored_pixelmap* NewStoredPixelmap(void); |
||
32 | |||
33 | #endif |