SDL  2.0
VULKAN_HPP_NAMESPACE::DescriptorPoolSize Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR DescriptorPoolSize (VULKAN_HPP_NAMESPACE::DescriptorType type_=VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, uint32_t descriptorCount_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR DescriptorPoolSize (DescriptorPoolSize const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 DescriptorPoolSize (VkDescriptorPoolSize const &rhs) VULKAN_HPP_NOEXCEPT
 
DescriptorPoolSizeoperator= (VkDescriptorPoolSize const &rhs) VULKAN_HPP_NOEXCEPT
 
DescriptorPoolSizeoperator= (DescriptorPoolSize const &rhs) VULKAN_HPP_NOEXCEPT
 
DescriptorPoolSizesetType (VULKAN_HPP_NAMESPACE::DescriptorType type_) VULKAN_HPP_NOEXCEPT
 
DescriptorPoolSizesetDescriptorCount (uint32_t descriptorCount_) VULKAN_HPP_NOEXCEPT
 
 operator VkDescriptorPoolSize const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkDescriptorPoolSize & () VULKAN_HPP_NOEXCEPT
 
bool operator== (DescriptorPoolSize const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (DescriptorPoolSize const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

VULKAN_HPP_NAMESPACE::DescriptorType type = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler
 
uint32_t descriptorCount = {}
 

Detailed Description

Definition at line 29049 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DescriptorPoolSize() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DescriptorPoolSize::DescriptorPoolSize ( VULKAN_HPP_NAMESPACE::DescriptorType  type_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler,
uint32_t  descriptorCount_ = {} 
)
inline

Definition at line 29054 of file vulkan.hpp.

29055  : type( type_ ), descriptorCount( descriptorCount_ )
29056  {}
VULKAN_HPP_NAMESPACE::DescriptorType type
Definition: vulkan.hpp:29120
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ DescriptorPoolSize() [2/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DescriptorPoolSize::DescriptorPoolSize ( DescriptorPoolSize const &  rhs)
default

◆ DescriptorPoolSize() [3/3]

VULKAN_HPP_NAMESPACE::DescriptorPoolSize::DescriptorPoolSize ( VkDescriptorPoolSize const &  rhs)
inline

Definition at line 29060 of file vulkan.hpp.

29061  {
29062  *this = rhs;
29063  }

Member Function Documentation

◆ operator VkDescriptorPoolSize &()

VULKAN_HPP_NAMESPACE::DescriptorPoolSize::operator VkDescriptorPoolSize & ( )
inline

Definition at line 29096 of file vulkan.hpp.

29097  {
29098  return *reinterpret_cast<VkDescriptorPoolSize*>( this );
29099  }

◆ operator VkDescriptorPoolSize const &()

VULKAN_HPP_NAMESPACE::DescriptorPoolSize::operator VkDescriptorPoolSize const & ( ) const
inline

Definition at line 29091 of file vulkan.hpp.

29092  {
29093  return *reinterpret_cast<const VkDescriptorPoolSize*>( this );
29094  }

◆ operator!=()

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

Definition at line 29111 of file vulkan.hpp.

29112  {
29113  return !operator==( rhs );
29114  }
bool operator==(DescriptorPoolSize const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:29105

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

DescriptorPoolSize& VULKAN_HPP_NAMESPACE::DescriptorPoolSize::operator= ( DescriptorPoolSize const &  rhs)
inline

Definition at line 29072 of file vulkan.hpp.

29073  {
29074  memcpy( static_cast<void *>( this ), &rhs, sizeof( DescriptorPoolSize ) );
29075  return *this;
29076  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR DescriptorPoolSize(VULKAN_HPP_NAMESPACE::DescriptorType type_=VULKAN_HPP_NAMESPACE::DescriptorType::eSampler, uint32_t descriptorCount_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:29054

References memcpy.

◆ operator=() [2/2]

DescriptorPoolSize& VULKAN_HPP_NAMESPACE::DescriptorPoolSize::operator= ( VkDescriptorPoolSize const &  rhs)
inline

Definition at line 29066 of file vulkan.hpp.

29067  {
29068  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::DescriptorPoolSize const *>( &rhs );
29069  return *this;
29070  }

◆ operator==()

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

Definition at line 29105 of file vulkan.hpp.

29106  {
29107  return ( type == rhs.type )
29108  && ( descriptorCount == rhs.descriptorCount );
29109  }
GLuint GLuint GLsizei GLenum type
Definition: SDL_opengl.h:1571

◆ setDescriptorCount()

DescriptorPoolSize& VULKAN_HPP_NAMESPACE::DescriptorPoolSize::setDescriptorCount ( uint32_t  descriptorCount_)
inline

Definition at line 29084 of file vulkan.hpp.

29085  {
29086  descriptorCount = descriptorCount_;
29087  return *this;
29088  }

◆ setType()

DescriptorPoolSize& VULKAN_HPP_NAMESPACE::DescriptorPoolSize::setType ( VULKAN_HPP_NAMESPACE::DescriptorType  type_)
inline

Definition at line 29078 of file vulkan.hpp.

29079  {
29080  type = type_;
29081  return *this;
29082  }

Field Documentation

◆ descriptorCount

uint32_t VULKAN_HPP_NAMESPACE::DescriptorPoolSize::descriptorCount = {}

Definition at line 29121 of file vulkan.hpp.

◆ type

Definition at line 29120 of file vulkan.hpp.


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