summaryrefslogtreecommitdiff
path: root/gsk/gskglshaderprivate.h
blob: 3dc82c35dc687b69bcf8bf3ba1a79cd4b15754de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __GSK_GLSHADER_PRIVATE_H__
#define __GSK_GLSHADER_PRIVATE_H__

#include <gsk/gskglshader.h>

G_BEGIN_DECLS

typedef struct {
  char *name;
  GskGLUniformType type;
  gsize offset;
} GskGLUniform;

const GskGLUniform *gsk_gl_shader_get_uniforms (GskGLShader *shader,
                                                int         *n_uniforms);

G_END_DECLS

#endif /* __GSK_GLSHADER_PRIVATE_H__ */