![]() |
VPP
0.7
A high-level modern C++ API for Vulkan
|
Helper class to define simple Vulkan viewport. More...
#include <vppViewport.hpp>
Public Member Functions | |
Viewport (unsigned int _width, unsigned int _height) | |
Viewport (unsigned int _width, unsigned int _height, float _minDepth, float _maxDepth) | |
Helper class to define simple Vulkan viewport.
This class creates a simple, rectangular Vulkan viewport.
Call it to create a viewport for RenderingOptions::addViewport() method.
This object is a small-sized structure and may be passed by value.