public Create ( |
||
parent | ||
name | string | |
handle | System.UInt64 | |
group | string | |
isManual | bool | |
loader | IManualResourceLoader | |
type | GpuProgramType | |
syntaxCode | string | |
리턴 |
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;
}