SDL 2.0
VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo:

Public Member Functions

 MemoryAllocateFlagsInfo (MemoryAllocateFlags flags_=MemoryAllocateFlags(), uint32_t deviceMask_=0)
 
 MemoryAllocateFlagsInfo (VkMemoryAllocateFlagsInfo const &rhs)
 
MemoryAllocateFlagsInfooperator= (VkMemoryAllocateFlagsInfo const &rhs)
 
MemoryAllocateFlagsInfosetPNext (const void *pNext_)
 
MemoryAllocateFlagsInfosetFlags (MemoryAllocateFlags flags_)
 
MemoryAllocateFlagsInfosetDeviceMask (uint32_t deviceMask_)
 
 operator VkMemoryAllocateFlagsInfo const & () const
 
 operator VkMemoryAllocateFlagsInfo & ()
 
bool operator== (MemoryAllocateFlagsInfo const &rhs) const
 
bool operator!= (MemoryAllocateFlagsInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
MemoryAllocateFlags flags
 
uint32_t deviceMask
 

Private Attributes

StructureType sType = StructureType::eMemoryAllocateFlagsInfo
 

Detailed Description

Definition at line 33984 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ MemoryAllocateFlagsInfo() [1/2]

VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::MemoryAllocateFlagsInfo ( MemoryAllocateFlags  flags_ = MemoryAllocateFlags(),
uint32_t  deviceMask_ = 0 
)
inline

Definition at line 33986 of file vulkan.hpp.

33988 : flags( flags_ )
33989 , deviceMask( deviceMask_ )
33990 {
33991 }

◆ MemoryAllocateFlagsInfo() [2/2]

VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::MemoryAllocateFlagsInfo ( VkMemoryAllocateFlagsInfo const &  rhs)
inline

Definition at line 33993 of file vulkan.hpp.

33994 {
33995 memcpy( this, &rhs, sizeof( MemoryAllocateFlagsInfo ) );
33996 }
#define memcpy
Definition: SDL_malloc.c:630
MemoryAllocateFlagsInfo(MemoryAllocateFlags flags_=MemoryAllocateFlags(), uint32_t deviceMask_=0)
Definition: vulkan.hpp:33986

References memcpy.

Member Function Documentation

◆ operator VkMemoryAllocateFlagsInfo &()

VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::operator VkMemoryAllocateFlagsInfo & ( )
inline

Definition at line 34026 of file vulkan.hpp.

34027 {
34028 return *reinterpret_cast<VkMemoryAllocateFlagsInfo*>(this);
34029 }

◆ operator VkMemoryAllocateFlagsInfo const &()

VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::operator VkMemoryAllocateFlagsInfo const & ( ) const
inline

Definition at line 34021 of file vulkan.hpp.

34022 {
34023 return *reinterpret_cast<const VkMemoryAllocateFlagsInfo*>(this);
34024 }

◆ operator!=()

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

Definition at line 34039 of file vulkan.hpp.

34040 {
34041 return !operator==( rhs );
34042 }
bool operator==(MemoryAllocateFlagsInfo const &rhs) const
Definition: vulkan.hpp:34031

References operator==().

◆ operator=()

MemoryAllocateFlagsInfo & VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::operator= ( VkMemoryAllocateFlagsInfo const &  rhs)
inline

Definition at line 33998 of file vulkan.hpp.

33999 {
34000 memcpy( this, &rhs, sizeof( MemoryAllocateFlagsInfo ) );
34001 return *this;
34002 }

References memcpy.

◆ operator==()

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

Definition at line 34031 of file vulkan.hpp.

34032 {
34033 return ( sType == rhs.sType )
34034 && ( pNext == rhs.pNext )
34035 && ( flags == rhs.flags )
34036 && ( deviceMask == rhs.deviceMask );
34037 }
GLbitfield flags

References deviceMask, flags, pNext, and sType.

Referenced by operator!=().

◆ setDeviceMask()

MemoryAllocateFlagsInfo & VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::setDeviceMask ( uint32_t  deviceMask_)
inline

Definition at line 34015 of file vulkan.hpp.

34016 {
34017 deviceMask = deviceMask_;
34018 return *this;
34019 }

References deviceMask.

◆ setFlags()

MemoryAllocateFlagsInfo & VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::setFlags ( MemoryAllocateFlags  flags_)
inline

Definition at line 34009 of file vulkan.hpp.

34010 {
34011 flags = flags_;
34012 return *this;
34013 }

◆ setPNext()

MemoryAllocateFlagsInfo & VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::setPNext ( const void pNext_)
inline

Definition at line 34003 of file vulkan.hpp.

34004 {
34005 pNext = pNext_;
34006 return *this;
34007 }

References pNext.

Field Documentation

◆ deviceMask

uint32_t VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::deviceMask

Definition at line 34050 of file vulkan.hpp.

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

◆ flags

MemoryAllocateFlags VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::flags

Definition at line 34049 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

const void* VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::pNext = nullptr

Definition at line 34048 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsInfo::sType = StructureType::eMemoryAllocateFlagsInfo
private

Definition at line 34045 of file vulkan.hpp.

Referenced by operator==().


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