projects
/
vg.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
jdidjjjjjjjjjjjjjjjjjjjjjj
[vg.git]
/
src
/
vg
/
vg_module.h
1
#ifndef VG_MODULE_H
2
#define VG_MODULE_H
3
4
#include
"vg_shader.h"
5
6
struct
vg_module
7
{
8
const char
*
name
;
9
10
struct
11
{
12
struct
vg_shader
*
shaders
;
13
u32 shader_count
;
14
15
vg_tex2d
*
textures
;
16
u32 texture_count
;
17
}
18
resources
;
19
20
int
(*
fn_load
)(
void
);
21
void
(*
fn_free
)(
void
);
22
};
23
24
static int
vg_module_load
(
struct
vg_module
*
m
)
25
{
26
27
}
28
29
#endif
/* VG_MODULE_H */