Implementing the wrapper class for a command buffer

This section implements the wrapper class for a command buffer called CommandBufferMgr. This class contains static functions that can be directly used like utility functions without requiring a class object. The class is implemented in a new file called wrapper.h/.cpp; this file will contain multiple utility methods.

Most of the implemented functions in this class are provided with a default implementation. This means that each function provides the user with the flexibility to change the control structure parameters from outside the function call and send them as parametric arguments. The function arguments are inherent defaults, so if you are not specifying anything custom, the function will ...

Get Learning Vulkan 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.