Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }
Esempio n. 3
0
 public DX11SchedulerThread(DX11ResourceScheduler scheduler, DX11RenderContext context)
 {
     this.scheduler = scheduler;
     this.context   = context;
 }
Esempio n. 4
0
 public DX11SchedulerThread(DX11ResourceScheduler scheduler, DX11RenderContext context)
 {
     this.scheduler = scheduler;
     this.context = context;
 }