SDL 2.0
VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV Struct Reference

#include <vulkan.hpp>

Public Member Functions

 DedicatedAllocationImageCreateInfoNV (Bool32 dedicatedAllocation_=0)
 
 DedicatedAllocationImageCreateInfoNV (VkDedicatedAllocationImageCreateInfoNV const &rhs)
 
DedicatedAllocationImageCreateInfoNVoperator= (VkDedicatedAllocationImageCreateInfoNV const &rhs)
 
DedicatedAllocationImageCreateInfoNVsetPNext (const void *pNext_)
 
DedicatedAllocationImageCreateInfoNVsetDedicatedAllocation (Bool32 dedicatedAllocation_)
 
 operator VkDedicatedAllocationImageCreateInfoNV const & () const
 
 operator VkDedicatedAllocationImageCreateInfoNV & ()
 
bool operator== (DedicatedAllocationImageCreateInfoNV const &rhs) const
 
bool operator!= (DedicatedAllocationImageCreateInfoNV const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
Bool32 dedicatedAllocation
 

Private Attributes

StructureType sType = StructureType::eDedicatedAllocationImageCreateInfoNV
 

Detailed Description

Definition at line 12504 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DedicatedAllocationImageCreateInfoNV() [1/2]

VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::DedicatedAllocationImageCreateInfoNV ( Bool32  dedicatedAllocation_ = 0)
inline

Definition at line 12506 of file vulkan.hpp.

12507 : dedicatedAllocation( dedicatedAllocation_ )
12508 {
12509 }

◆ DedicatedAllocationImageCreateInfoNV() [2/2]

VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::DedicatedAllocationImageCreateInfoNV ( VkDedicatedAllocationImageCreateInfoNV const &  rhs)
inline

Definition at line 12511 of file vulkan.hpp.

12512 {
12513 memcpy( this, &rhs, sizeof( DedicatedAllocationImageCreateInfoNV ) );
12514 }
#define memcpy
Definition: SDL_malloc.c:630
DedicatedAllocationImageCreateInfoNV(Bool32 dedicatedAllocation_=0)
Definition: vulkan.hpp:12506

References memcpy.

Member Function Documentation

◆ operator VkDedicatedAllocationImageCreateInfoNV &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::operator VkDedicatedAllocationImageCreateInfoNV & ( )
inline

Definition at line 12538 of file vulkan.hpp.

12539 {
12540 return *reinterpret_cast<VkDedicatedAllocationImageCreateInfoNV*>(this);
12541 }

◆ operator VkDedicatedAllocationImageCreateInfoNV const &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::operator VkDedicatedAllocationImageCreateInfoNV const & ( ) const
inline

Definition at line 12533 of file vulkan.hpp.

12534 {
12535 return *reinterpret_cast<const VkDedicatedAllocationImageCreateInfoNV*>(this);
12536 }

◆ operator!=()

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

Definition at line 12550 of file vulkan.hpp.

12551 {
12552 return !operator==( rhs );
12553 }
bool operator==(DedicatedAllocationImageCreateInfoNV const &rhs) const
Definition: vulkan.hpp:12543

References operator==().

◆ operator=()

DedicatedAllocationImageCreateInfoNV & VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::operator= ( VkDedicatedAllocationImageCreateInfoNV const &  rhs)
inline

Definition at line 12516 of file vulkan.hpp.

12517 {
12518 memcpy( this, &rhs, sizeof( DedicatedAllocationImageCreateInfoNV ) );
12519 return *this;
12520 }

References memcpy.

◆ operator==()

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

Definition at line 12543 of file vulkan.hpp.

12544 {
12545 return ( sType == rhs.sType )
12546 && ( pNext == rhs.pNext )
12547 && ( dedicatedAllocation == rhs.dedicatedAllocation );
12548 }

References dedicatedAllocation, pNext, and sType.

Referenced by operator!=().

◆ setDedicatedAllocation()

DedicatedAllocationImageCreateInfoNV & VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::setDedicatedAllocation ( Bool32  dedicatedAllocation_)
inline

Definition at line 12527 of file vulkan.hpp.

12528 {
12529 dedicatedAllocation = dedicatedAllocation_;
12530 return *this;
12531 }

References dedicatedAllocation.

◆ setPNext()

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

Definition at line 12521 of file vulkan.hpp.

12522 {
12523 pNext = pNext_;
12524 return *this;
12525 }

References pNext.

Field Documentation

◆ dedicatedAllocation

Bool32 VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::dedicatedAllocation

Definition at line 12560 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 12559 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::sType = StructureType::eDedicatedAllocationImageCreateInfoNV
private

Definition at line 12556 of file vulkan.hpp.

Referenced by operator==().


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