Home | History | Annotate | Download | only in ndk_helper

Lines Matching defs:shader

36 namespace shader
40 * Shader compiler helper
41 * namespace: ndkHelper::shader
49 * out: shader, shader variable
50 * in: type, shader type (i.e. GL_VERTEX_SHADER/GL_FRAGMENT_SHADER)
52 * return: true if a shader compilation succeeded, false if it failed
55 bool CompileShader( GLuint *shader, const GLenum type, std::vector<uint8_t>& data );
61 * out: shader, shader variable
62 * in: type, shader type (i.e. GL_VERTEX_SHADER/GL_FRAGMENT_SHADER)
65 * return: true if a shader compilation succeeded, false if it failed
68 bool CompileShader( GLuint *shader,
77 * out: shader, shader variable
78 * in: type, shader type (i.e. GL_VERTEX_SHADER/GL_FRAGMENT_SHADER)
80 * return: true if a shader compilation succeeded, false if it failed
83 bool CompileShader( GLuint *shader, const GLenum type, const char *strFileName );
86 * CompileShader() with std::map helps patching on a shader on the fly.
89 * out: shader, shader variable
90 * in: type, shader type (i.e. GL_VERTEX_SHADER/GL_FRAGMENT_SHADER)
93 * map : %KEY% -> %VALUE% replaces all %KEY% entries in the given shader code to %VALUE"
94 * return: true if a shader compilation succeeded, false if it failed
97 bool CompileShader( GLuint *shader,
107 * return: true if a shader linkage succeeded, false if it failed
117 * return: true if a shader validation succeeded, false if it failed
121 } //namespace shader