HighLevelGpuProgram* GLSLShaderFactory::create(
     ResourceManager* creator,
     const String& name, ResourceHandle handle,
     const String& group, bool isManual, ManualResourceLoader* loader)
 {
     return OGRE_NEW GLSLShader(creator, name, handle, group, isManual, loader);
 }
Example #2
0
GLSLShader GLSLShader::from_string(const std::string& code, GLenum type) {
    return GLSLShader(code, type);
}