Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 protected override void OnResize()
 {
     renderer.Resize();
     base.OnResize();
 }
Ejemplo n.º 3
0
 protected override void OnResize()
 {
     UpdateView();
     renderer.Resize();
     buildCommandBuffers();
 }