Specialization of GpuProgram that accepts source for DX8 level gpu programs and allows them to run on nVidia cards that support register and texture combiners.
상속: GLGpuProgram
예제 #1
0
        public GLGpuProgram Create(ResourceManager parent, string name, ResourceHandle handle, string group, bool isManual,
                                   IManualResourceLoader loader, GpuProgramType type, string syntaxCode)
        {
            GLGpuProgram ret = new NvparseFragmentProgram(parent, name, handle, group, isManual, loader);

            ret.SyntaxCode = syntaxCode;
            ret.Type       = type;
            return(ret);
        }
예제 #2
0
		public GLGpuProgram Create( ResourceManager parent, string name, ResourceHandle handle, string group, bool isManual, IManualResourceLoader loader, GpuProgramType type, string syntaxCode )
		{
			GLGpuProgram ret = new NvparseFragmentProgram( parent, name, handle, group, isManual, loader );
			ret.SyntaxCode = syntaxCode;
			ret.Type = type;
			return ret;
		}