public void Initialize(int schedulerthreadcount = 1) { this.ResourcePool = new DX11ResourcePoolManager(this); this.RenderTargetStack = new DX11RenderTargetStack(this); this.DefaultTextures = new DefaultTextures(this); this.Primitives = new DX11PrimitivesManager(this); this.RenderStateStack = new DX11RenderStateStack(this); this.ResourceScheduler = new DX11ResourceScheduler(this, schedulerthreadcount); this.ResourceScheduler.Initialize(); this.CheckBufferSupport(); if (this.Factory == null) { this.Factory = this.Device.Factory as Factory1; } this.BuildFormatSampling(); }
public void Initialize(int schedulerthreadcount = 1) { this.ResourcePool = new DX11ResourcePoolManager(this); this.RenderTargetStack = new DX11RenderTargetStack(this); this.DefaultTextures = new DefaultTextures(this); this.Primitives = new DX11PrimitivesManager(this); this.RenderStateStack = new DX11RenderStateStack(this); this.ResourceScheduler = new DX11ResourceScheduler(this, schedulerthreadcount); this.ResourceScheduler.Initialize(); this.CheckBufferSupport(); if (this.Factory == null) { this.Factory = this.Device.Factory as Factory1; } this.BuildFormatSampling(); }
public DX11SchedulerThread(DX11ResourceScheduler scheduler, DX11RenderContext context) { this.scheduler = scheduler; this.context = context; }
public DX11SchedulerThread(DX11ResourceScheduler scheduler, DX11RenderContext context) { this.scheduler = scheduler; this.context = context; }