Vulkan-Hpp
vk::Extent2D Struct Reference

#include <vulkan_structs.hpp>

Public Types

using NativeType = VkExtent2D
 

Public Member Functions

VULKAN_HPP_CONSTEXPR Extent2D (uint32_t width_={}, uint32_t height_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Extent2D (Extent2D const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 Extent2D (VkExtent2D const &rhs) VULKAN_HPP_NOEXCEPT
 
Extent2Doperator= (Extent2D const &rhs) VULKAN_HPP_NOEXCEPT=default
 
Extent2Doperator= (VkExtent2D const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 Extent2DsetWidth (uint32_t width_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 Extent2DsetHeight (uint32_t height_) VULKAN_HPP_NOEXCEPT
 
 operator VkExtent2D const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkExtent2D & () VULKAN_HPP_NOEXCEPT
 
bool operator== (Extent2D const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (Extent2D const &rhs) const VULKAN_HPP_NOEXCEPT
 

Public Attributes

uint32_t width = {}
 
uint32_t height = {}
 

Detailed Description

Definition at line 6542 of file vulkan_structs.hpp.

Member Typedef Documentation

◆ NativeType

Definition at line 6544 of file vulkan_structs.hpp.

Constructor & Destructor Documentation

◆ Extent2D() [1/3]

VULKAN_HPP_CONSTEXPR vk::Extent2D::Extent2D ( uint32_t  width_ = {},
uint32_t  height_ = {} 
)
inline

Definition at line 6547 of file vulkan_structs.hpp.

◆ Extent2D() [2/3]

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

◆ Extent2D() [3/3]

vk::Extent2D::Extent2D ( VkExtent2D const &  rhs)
inline

Definition at line 6555 of file vulkan_structs.hpp.

Member Function Documentation

◆ operator VkExtent2D &()

vk::Extent2D::operator VkExtent2D & ( )
inline

Definition at line 6585 of file vulkan_structs.hpp.

◆ operator VkExtent2D const &()

vk::Extent2D::operator VkExtent2D const & ( ) const
inline

Definition at line 6580 of file vulkan_structs.hpp.

◆ operator!=()

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

Definition at line 6614 of file vulkan_structs.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

Extent2D& vk::Extent2D::operator= ( VkExtent2D const &  rhs)
inline

Definition at line 6560 of file vulkan_structs.hpp.

◆ operator==()

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

Definition at line 6605 of file vulkan_structs.hpp.

◆ setHeight()

VULKAN_HPP_CONSTEXPR_14 Extent2D& vk::Extent2D::setHeight ( uint32_t  height_)
inline

Definition at line 6573 of file vulkan_structs.hpp.

◆ setWidth()

VULKAN_HPP_CONSTEXPR_14 Extent2D& vk::Extent2D::setWidth ( uint32_t  width_)
inline

Definition at line 6567 of file vulkan_structs.hpp.

Member Data Documentation

◆ height

uint32_t vk::Extent2D::height = {}

Definition at line 6622 of file vulkan_structs.hpp.

◆ width

uint32_t vk::Extent2D::width = {}

Definition at line 6621 of file vulkan_structs.hpp.


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