SDL 2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

 PhysicalDeviceDiscardRectanglePropertiesEXT (uint32_t maxDiscardRectangles_=0)
 
 PhysicalDeviceDiscardRectanglePropertiesEXT (VkPhysicalDeviceDiscardRectanglePropertiesEXT const &rhs)
 
PhysicalDeviceDiscardRectanglePropertiesEXToperator= (VkPhysicalDeviceDiscardRectanglePropertiesEXT const &rhs)
 
PhysicalDeviceDiscardRectanglePropertiesEXTsetPNext (void *pNext_)
 
PhysicalDeviceDiscardRectanglePropertiesEXTsetMaxDiscardRectangles (uint32_t maxDiscardRectangles_)
 
 operator VkPhysicalDeviceDiscardRectanglePropertiesEXT const & () const
 
 operator VkPhysicalDeviceDiscardRectanglePropertiesEXT & ()
 
bool operator== (PhysicalDeviceDiscardRectanglePropertiesEXT const &rhs) const
 
bool operator!= (PhysicalDeviceDiscardRectanglePropertiesEXT const &rhs) const
 

Data Fields

voidpNext = nullptr
 
uint32_t maxDiscardRectangles
 

Private Attributes

StructureType sType = StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT
 

Detailed Description

Definition at line 15504 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceDiscardRectanglePropertiesEXT() [1/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::PhysicalDeviceDiscardRectanglePropertiesEXT ( uint32_t  maxDiscardRectangles_ = 0)
inline

Definition at line 15506 of file vulkan.hpp.

15507 : maxDiscardRectangles( maxDiscardRectangles_ )
15508 {
15509 }

◆ PhysicalDeviceDiscardRectanglePropertiesEXT() [2/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::PhysicalDeviceDiscardRectanglePropertiesEXT ( VkPhysicalDeviceDiscardRectanglePropertiesEXT const &  rhs)
inline

Definition at line 15511 of file vulkan.hpp.

15512 {
15513 memcpy( this, &rhs, sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) );
15514 }
#define memcpy
Definition: SDL_malloc.c:630
PhysicalDeviceDiscardRectanglePropertiesEXT(uint32_t maxDiscardRectangles_=0)
Definition: vulkan.hpp:15506

References memcpy.

Member Function Documentation

◆ operator VkPhysicalDeviceDiscardRectanglePropertiesEXT &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::operator VkPhysicalDeviceDiscardRectanglePropertiesEXT & ( )
inline

Definition at line 15538 of file vulkan.hpp.

◆ operator VkPhysicalDeviceDiscardRectanglePropertiesEXT const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::operator VkPhysicalDeviceDiscardRectanglePropertiesEXT const & ( ) const
inline

Definition at line 15533 of file vulkan.hpp.

15534 {
15535 return *reinterpret_cast<const VkPhysicalDeviceDiscardRectanglePropertiesEXT*>(this);
15536 }

◆ operator!=()

bool VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::operator!= ( PhysicalDeviceDiscardRectanglePropertiesEXT const &  rhs) const
inline

Definition at line 15550 of file vulkan.hpp.

15551 {
15552 return !operator==( rhs );
15553 }
bool operator==(PhysicalDeviceDiscardRectanglePropertiesEXT const &rhs) const
Definition: vulkan.hpp:15543

References operator==().

◆ operator=()

PhysicalDeviceDiscardRectanglePropertiesEXT & VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::operator= ( VkPhysicalDeviceDiscardRectanglePropertiesEXT const &  rhs)
inline

Definition at line 15516 of file vulkan.hpp.

15517 {
15518 memcpy( this, &rhs, sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) );
15519 return *this;
15520 }

References memcpy.

◆ operator==()

bool VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::operator== ( PhysicalDeviceDiscardRectanglePropertiesEXT const &  rhs) const
inline

Definition at line 15543 of file vulkan.hpp.

15544 {
15545 return ( sType == rhs.sType )
15546 && ( pNext == rhs.pNext )
15547 && ( maxDiscardRectangles == rhs.maxDiscardRectangles );
15548 }

References maxDiscardRectangles, pNext, and sType.

Referenced by operator!=().

◆ setMaxDiscardRectangles()

PhysicalDeviceDiscardRectanglePropertiesEXT & VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::setMaxDiscardRectangles ( uint32_t  maxDiscardRectangles_)
inline

Definition at line 15527 of file vulkan.hpp.

15528 {
15529 maxDiscardRectangles = maxDiscardRectangles_;
15530 return *this;
15531 }

References maxDiscardRectangles.

◆ setPNext()

PhysicalDeviceDiscardRectanglePropertiesEXT & VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::setPNext ( void pNext_)
inline

Definition at line 15521 of file vulkan.hpp.

15522 {
15523 pNext = pNext_;
15524 return *this;
15525 }

References pNext.

Field Documentation

◆ maxDiscardRectangles

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::maxDiscardRectangles

Definition at line 15560 of file vulkan.hpp.

Referenced by operator==(), and setMaxDiscardRectangles().

◆ pNext

void* VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::pNext = nullptr

Definition at line 15559 of file vulkan.hpp.

Referenced by operator==(), and setPNext().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceDiscardRectanglePropertiesEXT::sType = StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT
private

Definition at line 15556 of file vulkan.hpp.

Referenced by operator==().


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