#include <vulkan.hpp>
Definition at line 5354 of file vulkan.hpp.
◆ Viewport() [1/2]
VULKAN_HPP_NAMESPACE::Viewport::Viewport |
( |
float |
x_ = 0 , |
|
|
float |
y_ = 0 , |
|
|
float |
width_ = 0 , |
|
|
float |
height_ = 0 , |
|
|
float |
minDepth_ = 0 , |
|
|
float |
maxDepth_ = 0 |
|
) |
| |
|
inline |
◆ Viewport() [2/2]
VULKAN_HPP_NAMESPACE::Viewport::Viewport |
( |
VkViewport const & |
rhs | ) |
|
|
inline |
Definition at line 5371 of file vulkan.hpp.
5372 {
5374 }
Viewport(float x_=0, float y_=0, float width_=0, float height_=0, float minDepth_=0, float maxDepth_=0)
References memcpy.
◆ operator VkViewport &()
VULKAN_HPP_NAMESPACE::Viewport::operator VkViewport & |
( |
| ) |
|
|
inline |
◆ operator VkViewport const &()
VULKAN_HPP_NAMESPACE::Viewport::operator VkViewport const & |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool VULKAN_HPP_NAMESPACE::Viewport::operator!= |
( |
Viewport const & |
rhs | ) |
const |
|
inline |
◆ operator=()
◆ operator==()
bool VULKAN_HPP_NAMESPACE::Viewport::operator== |
( |
Viewport const & |
rhs | ) |
const |
|
inline |
Definition at line 5427 of file vulkan.hpp.
5428 {
5429 return (
x == rhs.x )
5431 && (
width == rhs.width )
5432 && (
height == rhs.height )
5435 }
GLint GLint GLint GLint GLint GLint y
GLint GLint GLsizei width
GLint GLint GLint GLint GLint x
GLint GLint GLsizei GLsizei height
References height, maxDepth, minDepth, width, x, and y.
Referenced by operator!=().
◆ setHeight()
Viewport & VULKAN_HPP_NAMESPACE::Viewport::setHeight |
( |
float |
height_ | ) |
|
|
inline |
Definition at line 5399 of file vulkan.hpp.
5400 {
5402 return *this;
5403 }
◆ setMaxDepth()
Viewport & VULKAN_HPP_NAMESPACE::Viewport::setMaxDepth |
( |
float |
maxDepth_ | ) |
|
|
inline |
◆ setMinDepth()
Viewport & VULKAN_HPP_NAMESPACE::Viewport::setMinDepth |
( |
float |
minDepth_ | ) |
|
|
inline |
◆ setWidth()
Viewport & VULKAN_HPP_NAMESPACE::Viewport::setWidth |
( |
float |
width_ | ) |
|
|
inline |
Definition at line 5393 of file vulkan.hpp.
5394 {
5396 return *this;
5397 }
◆ setX()
Viewport & VULKAN_HPP_NAMESPACE::Viewport::setX |
( |
float |
x_ | ) |
|
|
inline |
Definition at line 5381 of file vulkan.hpp.
5382 {
5384 return *this;
5385 }
◆ setY()
Viewport & VULKAN_HPP_NAMESPACE::Viewport::setY |
( |
float |
y_ | ) |
|
|
inline |
Definition at line 5387 of file vulkan.hpp.
5388 {
5390 return *this;
5391 }
◆ height
float VULKAN_HPP_NAMESPACE::Viewport::height |
◆ maxDepth
float VULKAN_HPP_NAMESPACE::Viewport::maxDepth |
◆ minDepth
float VULKAN_HPP_NAMESPACE::Viewport::minDepth |
◆ width
float VULKAN_HPP_NAMESPACE::Viewport::width |
float VULKAN_HPP_NAMESPACE::Viewport::x |
float VULKAN_HPP_NAMESPACE::Viewport::y |
The documentation for this struct was generated from the following file: