public GLGpuProgram Create(ResourceManager parent, string name, ResourceHandle handle, string group, bool isManual, IManualResourceLoader loader, GpuProgramType type, string syntaxCode) { // creates and returns a new ATI fragment shader implementation GLGpuProgram ret = new ATIFragmentShaderGpuProgram(parent, name, handle, group, isManual, loader); ret.Type = type; ret.SyntaxCode = syntaxCode; return(ret); }
public GLGpuProgram Create( ResourceManager parent, string name, ResourceHandle handle, string group, bool isManual, IManualResourceLoader loader, GpuProgramType type, string syntaxCode ) { // creates and returns a new ATI fragment shader implementation GLGpuProgram ret = new ATIFragmentShaderGpuProgram( parent, name, handle, group, isManual, loader ); ret.Type = type; ret.SyntaxCode = syntaxCode; return ret; }