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(); }
protected override void OnResize() { renderer.Resize(); base.OnResize(); }
protected override void OnResize() { UpdateView(); renderer.Resize(); buildCommandBuffers(); }