예제 #1
0
파일: main.cs 프로젝트: jpbruyere/vke.net
        protected override void OnResize()
        {
            base.OnResize();

            dev.WaitIdle();

            renderer.Resize(Width, Height);

            UpdateView();

            frameBuffers?.Dispose();
            frameBuffers = plToneMap.RenderPass.CreateFrameBuffers(swapChain);

            DescriptorSetWrites dsUpdate = new DescriptorSetWrites(plToneMap.Layout.DescriptorSetLayouts[0].Bindings[0]);

            dsUpdate.Write(dev, descriptorSet, renderer.hdrImgResolved.Descriptor);

            buildCommandBuffers();

            dev.WaitIdle();
        }
예제 #2
0
 protected override void OnResize()
 {
     renderer.Resize();
     base.OnResize();
 }
예제 #3
0
파일: main.cs 프로젝트: Svengali/vk.net
 protected override void OnResize()
 {
     UpdateView();
     renderer.Resize();
     buildCommandBuffers();
 }