public SchedulerThread(ResourceScheduler scheduler, RenderDevice device) { this.scheduler = scheduler; this.device = device; }
public AbstractLoadTask(RenderDevice device) { this.Device = device; }
protected override FileTexture3dPoolElement CreateElement(RenderDevice device, string path, bool mips, bool async = false) { return(new FileTexture3dPoolElement(device, path, mips, async)); }
protected abstract TTask CreateTask(RenderDevice device);
public FileTexture3dPoolElement(RenderDevice device, string path, bool mips, bool async = false) : base(device, path, mips, async) { }
protected override FileTexture3dLoadTask CreateTask(RenderDevice device) { return(new FileTexture3dLoadTask(device, this.FileName)); }
protected abstract TElement CreateElement(RenderDevice device, string path, bool mips, bool async = false);
public FileTexture3dLoadTask(RenderDevice device, string path) : base(device, path) { }
public FileTexture2dLoadTask(RenderDevice device, string path, bool domips) : base(device, path) { this.domips = domips; }
public FileTextureLoadTask(RenderDevice device, string path) : base(device) { this.path = path; }
public ResourceScheduler(RenderDevice device, int threadcount = 1) { this.device = device; this.thrcount = threadcount; }