示例#1
0
        public void ImmediateTest()
        {
            DxDevice      device    = new DxDevice();
            RenderContext immediate = new RenderContext(device);

            immediate.Dispose();
            device.Dispose();
        }
示例#2
0
        public void ImmediateAndDefferedTest()
        {
            DxDevice      device    = new DxDevice();
            RenderContext immediate = new RenderContext(device);

            DefferedRenderContext deffered = new DefferedRenderContext(device);

            deffered.Dispose();
            immediate.Dispose();
            device.Dispose();
        }
示例#3
0
        public void CreateDevice()
        {
            DxDevice device = new DxDevice();

            device.Dispose();
        }
示例#4
0
 public void GlobalCleanup()
 {
     _dev.Dispose();
     _lib.Dispose();
 }