This PR changes how the tutorial maps uniform buffers for updating. Instead of mapping and unmapping each frame, they are now mapped once after creation ("persistent mapping").
The PR updates both the tutorial chapter (that talks about ubos) and all code snippets that make use of ubos.
This PR changes how the tutorial maps uniform buffers for updating. Instead of mapping and unmapping each frame, they are now mapped once after creation ("persistent mapping").
The PR updates both the tutorial chapter (that talks about ubos) and all code snippets that make use of ubos.