Vulkan-Hpp
vk::Viewport Struct Reference

#include <vulkan_structs.hpp>

Public Types

using NativeType = VkViewport
 

Public Member Functions

VULKAN_HPP_CONSTEXPR Viewport (float x_={}, float y_={}, float width_={}, float height_={}, float minDepth_={}, float maxDepth_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Viewport (Viewport const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 Viewport (VkViewport const &rhs) VULKAN_HPP_NOEXCEPT
 
Viewportoperator= (Viewport const &rhs) VULKAN_HPP_NOEXCEPT=default
 
Viewportoperator= (VkViewport const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ViewportsetX (float x_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ViewportsetY (float y_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ViewportsetWidth (float width_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ViewportsetHeight (float height_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ViewportsetMinDepth (float minDepth_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ViewportsetMaxDepth (float maxDepth_) VULKAN_HPP_NOEXCEPT
 
 operator VkViewport const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkViewport & () VULKAN_HPP_NOEXCEPT
 
bool operator== (Viewport const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (Viewport const &rhs) const VULKAN_HPP_NOEXCEPT
 

Public Attributes

float x = {}
 
float y = {}
 
float width = {}
 
float height = {}
 
float minDepth = {}
 
float maxDepth = {}
 

Detailed Description

Definition at line 15266 of file vulkan_structs.hpp.

Member Typedef Documentation

◆ NativeType

Definition at line 15268 of file vulkan_structs.hpp.

Constructor & Destructor Documentation

◆ Viewport() [1/3]

VULKAN_HPP_CONSTEXPR vk::Viewport::Viewport ( float  x_ = {},
float  y_ = {},
float  width_ = {},
float  height_ = {},
float  minDepth_ = {},
float  maxDepth_ = {} 
)
inline

Definition at line 15272 of file vulkan_structs.hpp.

◆ Viewport() [2/3]

VULKAN_HPP_CONSTEXPR vk::Viewport::Viewport ( Viewport const &  rhs)
default

◆ Viewport() [3/3]

vk::Viewport::Viewport ( VkViewport const &  rhs)
inline

Definition at line 15284 of file vulkan_structs.hpp.

Member Function Documentation

◆ operator VkViewport &()

vk::Viewport::operator VkViewport & ( )
inline

Definition at line 15338 of file vulkan_structs.hpp.

◆ operator VkViewport const &()

vk::Viewport::operator VkViewport const & ( ) const
inline

Definition at line 15333 of file vulkan_structs.hpp.

◆ operator!=()

bool vk::Viewport::operator!= ( Viewport const &  rhs) const
inline

Definition at line 15368 of file vulkan_structs.hpp.

◆ operator=() [1/2]

Viewport& vk::Viewport::operator= ( Viewport const &  rhs)
default

◆ operator=() [2/2]

Viewport& vk::Viewport::operator= ( VkViewport const &  rhs)
inline

Definition at line 15289 of file vulkan_structs.hpp.

◆ operator==()

bool vk::Viewport::operator== ( Viewport const &  rhs) const
inline

Definition at line 15358 of file vulkan_structs.hpp.

◆ setHeight()

VULKAN_HPP_CONSTEXPR_14 Viewport& vk::Viewport::setHeight ( float  height_)
inline

Definition at line 15314 of file vulkan_structs.hpp.

◆ setMaxDepth()

VULKAN_HPP_CONSTEXPR_14 Viewport& vk::Viewport::setMaxDepth ( float  maxDepth_)
inline

Definition at line 15326 of file vulkan_structs.hpp.

◆ setMinDepth()

VULKAN_HPP_CONSTEXPR_14 Viewport& vk::Viewport::setMinDepth ( float  minDepth_)
inline

Definition at line 15320 of file vulkan_structs.hpp.

◆ setWidth()

VULKAN_HPP_CONSTEXPR_14 Viewport& vk::Viewport::setWidth ( float  width_)
inline

Definition at line 15308 of file vulkan_structs.hpp.

◆ setX()

VULKAN_HPP_CONSTEXPR_14 Viewport& vk::Viewport::setX ( float  x_)
inline

Definition at line 15296 of file vulkan_structs.hpp.

◆ setY()

VULKAN_HPP_CONSTEXPR_14 Viewport& vk::Viewport::setY ( float  y_)
inline

Definition at line 15302 of file vulkan_structs.hpp.

Member Data Documentation

◆ height

float vk::Viewport::height = {}

Definition at line 15378 of file vulkan_structs.hpp.

◆ maxDepth

float vk::Viewport::maxDepth = {}

Definition at line 15380 of file vulkan_structs.hpp.

◆ minDepth

float vk::Viewport::minDepth = {}

Definition at line 15379 of file vulkan_structs.hpp.

◆ width

float vk::Viewport::width = {}

Definition at line 15377 of file vulkan_structs.hpp.

◆ x

float vk::Viewport::x = {}

Definition at line 15375 of file vulkan_structs.hpp.

◆ y

float vk::Viewport::y = {}

Definition at line 15376 of file vulkan_structs.hpp.


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