zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Uniform.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 
7 #ifndef COMPILER_UNIFORM_H_
8 #define COMPILER_UNIFORM_H_
9 
10 #include <string>
11 #include <vector>
12 
13 #define GL_APICALL
14 #include <GLES2/gl2.h>
15 
16 namespace sh
17 {
18 
19 struct Uniform
20 {
21  Uniform(GLenum type, GLenum precision, const char *name, int arraySize, int registerIndex);
22 
26  unsigned int arraySize;
27 
29 };
30 
31 typedef std::vector<Uniform> ActiveUniforms;
32 
33 }
34 
35 #endif // COMPILER_UNIFORM_H_
std::string name
Definition: Uniform.h:25
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum GLenum type
Definition: gl2ext.h:845
unsigned int GLenum
Definition: gl2.h:23
std::vector< Uniform > ActiveUniforms
Definition: Uniform.h:31
GLenum type
Definition: Uniform.h:23
EGLImageKHR EGLint * name
Definition: eglext.h:284
GLenum precision
Definition: Uniform.h:24
int registerIndex
Definition: Uniform.h:28
GLsizei const GLcharARB ** string
Definition: glew.h:5638
unsigned int arraySize
Definition: Uniform.h:26
GLenum GLint GLint * precision
Definition: glew.h:3391
Uniform(GLenum type, GLenum precision, const char *name, int arraySize, int registerIndex)
Definition: Uniform.cpp:12