VPP  0.7
A high-level modern C++ API for Vulkan
Public Member Functions | List of all members
vpp::Viewport Struct Reference

Helper class to define simple Vulkan viewport. More...

#include <vppViewport.hpp>

Inheritance diagram for vpp::Viewport:

Public Member Functions

 Viewport (unsigned int _width, unsigned int _height)
 
 Viewport (unsigned int _width, unsigned int _height, float _minDepth, float _maxDepth)
 

Detailed Description

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.


The documentation for this struct was generated from the following file: