• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdint.h>
2 
3 
4 typedef void * RsAdapter1D;
5 typedef void * RsAdapter2D;
6 typedef void * RsAllocation;
7 typedef void * RsContext;
8 typedef void * RsDevice;
9 typedef void * RsElement;
10 typedef void * RsSampler;
11 typedef void * RsScript;
12 typedef void * RsSimpleMesh;
13 typedef void * RsType;
14 typedef void * RsProgramFragment;
15 typedef void * RsProgramFragmentStore;
16 typedef void * RsLight;
17 
18 
19 typedef struct {
20     float m[16];
21 } rsc_Matrix;
22 
23 
24 typedef struct {
25     float v[4];
26 } rsc_Vector4;
27 
28 #define RS_PROGRAM_VERTEX_MODELVIEW_OFFSET 0
29 #define RS_PROGRAM_VERTEX_PROJECTION_OFFSET 16
30 #define RS_PROGRAM_VERTEX_TEXTURE_OFFSET 32
31 
32