Have a go hero – Rendering only specific parts of a scene

This example draws the whole scene. Of course, you can also render only specific parts of the scene using the other arguments of render(). We will not go into this here, but you may want to try it as an exercise.

Get Game Programming using Qt 5 Beginner's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.