Lines Matching refs:ProgramSources
163 struct ProgramSources;
174 ShaderProgram (const RenderContext& renderCtx, const ProgramSources& sources);
202 // ProgramSources utilities and implementation.
282 struct ProgramSources
291 ProgramSources (void) : transformFeedbackBufferMode(0), separable(false) {}
293 ProgramSources& operator<< (const AttribLocationBinding& binding) { attribLocationBindings.push_back(binding); return *this; }
294 ProgramSources& operator<< (const TransformFeedbackMode& mode) { transformFeedbackBufferMode = mode.mode; return *this; }
295 ProgramSources& operator<< (const TransformFeedbackVarying& varying) { transformFeedbackVaryings.push_back(varying.name); return *this; }
296 ProgramSources& operator<< (const ShaderSource& shaderSource) { sources[shaderSource.shaderType].push_back(shaderSource.source); return *this; }
297 ProgramSources& operator<< (const ProgramSeparable& progSeparable) { separable = progSeparable.separable; return *this; }
300 ProgramSources& operator<< (const TransformFeedbackVaryings<Iterator>& varyings);
304 inline ProgramSources& ProgramSources::operator<< (const TransformFeedbackVaryings<Iterator>& varyings)
312 inline ProgramSources makeVtxFragSources (const std::string& vertexSrc, const std::string& fragmentSrc)
314 ProgramSources sources;