Table of Contents

NervLand: Support to resize the window

In our previous post, we implemented the support to use VertexBuffer objects to provide the vertex data we want to draw. This time we are going to do something completely different and focus instead on the support for resizing the main window of our application.

Check the current resizing status

Required changes

Rebuilding the framebuffers

Rebuilding the command buffers

Using lua references for callbacks

Resizing graphics pipeline viewport too

Resizing on size changed event