Example #1
0
 public SchedulerThread(ResourceScheduler scheduler, RenderDevice device)
 {
     this.scheduler = scheduler;
     this.device    = device;
 }
Example #2
0
 public AbstractLoadTask(RenderDevice device)
 {
     this.Device = device;
 }
Example #3
0
 protected override FileTexture3dPoolElement CreateElement(RenderDevice device, string path, bool mips, bool async = false)
 {
     return(new FileTexture3dPoolElement(device, path, mips, async));
 }
Example #4
0
 protected abstract TTask CreateTask(RenderDevice device);
Example #5
0
 public FileTexture3dPoolElement(RenderDevice device, string path, bool mips, bool async = false)
     : base(device, path, mips, async)
 {
 }
Example #6
0
 protected override FileTexture3dLoadTask CreateTask(RenderDevice device)
 {
     return(new FileTexture3dLoadTask(device, this.FileName));
 }
Example #7
0
 protected abstract TElement CreateElement(RenderDevice device, string path, bool mips, bool async = false);
Example #8
0
 public FileTexture3dLoadTask(RenderDevice device, string path)
     : base(device, path)
 {
 }
Example #9
0
 public FileTexture2dLoadTask(RenderDevice device, string path, bool domips)
     : base(device, path)
 {
     this.domips = domips;
 }
Example #10
0
 public FileTextureLoadTask(RenderDevice device, string path)
     : base(device)
 {
     this.path = path;
 }
Example #11
0
 public ResourceScheduler(RenderDevice device, int threadcount = 1)
 {
     this.device   = device;
     this.thrcount = threadcount;
 }