SDL 2.0
VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV Struct Reference

#include <vulkan.hpp>

Public Member Functions

 DedicatedAllocationBufferCreateInfoNV (Bool32 dedicatedAllocation_=0)
 
 DedicatedAllocationBufferCreateInfoNV (VkDedicatedAllocationBufferCreateInfoNV const &rhs)
 
DedicatedAllocationBufferCreateInfoNVoperator= (VkDedicatedAllocationBufferCreateInfoNV const &rhs)
 
DedicatedAllocationBufferCreateInfoNVsetPNext (const void *pNext_)
 
DedicatedAllocationBufferCreateInfoNVsetDedicatedAllocation (Bool32 dedicatedAllocation_)
 
 operator VkDedicatedAllocationBufferCreateInfoNV const & () const
 
 operator VkDedicatedAllocationBufferCreateInfoNV & ()
 
bool operator== (DedicatedAllocationBufferCreateInfoNV const &rhs) const
 
bool operator!= (DedicatedAllocationBufferCreateInfoNV const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
Bool32 dedicatedAllocation
 

Private Attributes

StructureType sType = StructureType::eDedicatedAllocationBufferCreateInfoNV
 

Detailed Description

Definition at line 12564 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DedicatedAllocationBufferCreateInfoNV() [1/2]

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

Definition at line 12566 of file vulkan.hpp.

12567 : dedicatedAllocation( dedicatedAllocation_ )
12568 {
12569 }

◆ DedicatedAllocationBufferCreateInfoNV() [2/2]

VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::DedicatedAllocationBufferCreateInfoNV ( VkDedicatedAllocationBufferCreateInfoNV const &  rhs)
inline

Definition at line 12571 of file vulkan.hpp.

12572 {
12573 memcpy( this, &rhs, sizeof( DedicatedAllocationBufferCreateInfoNV ) );
12574 }
#define memcpy
Definition: SDL_malloc.c:630
DedicatedAllocationBufferCreateInfoNV(Bool32 dedicatedAllocation_=0)
Definition: vulkan.hpp:12566

References memcpy.

Member Function Documentation

◆ operator VkDedicatedAllocationBufferCreateInfoNV &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::operator VkDedicatedAllocationBufferCreateInfoNV & ( )
inline

Definition at line 12598 of file vulkan.hpp.

12599 {
12600 return *reinterpret_cast<VkDedicatedAllocationBufferCreateInfoNV*>(this);
12601 }

◆ operator VkDedicatedAllocationBufferCreateInfoNV const &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::operator VkDedicatedAllocationBufferCreateInfoNV const & ( ) const
inline

Definition at line 12593 of file vulkan.hpp.

12594 {
12595 return *reinterpret_cast<const VkDedicatedAllocationBufferCreateInfoNV*>(this);
12596 }

◆ operator!=()

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

Definition at line 12610 of file vulkan.hpp.

12611 {
12612 return !operator==( rhs );
12613 }
bool operator==(DedicatedAllocationBufferCreateInfoNV const &rhs) const
Definition: vulkan.hpp:12603

References operator==().

◆ operator=()

DedicatedAllocationBufferCreateInfoNV & VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::operator= ( VkDedicatedAllocationBufferCreateInfoNV const &  rhs)
inline

Definition at line 12576 of file vulkan.hpp.

12577 {
12578 memcpy( this, &rhs, sizeof( DedicatedAllocationBufferCreateInfoNV ) );
12579 return *this;
12580 }

References memcpy.

◆ operator==()

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

Definition at line 12603 of file vulkan.hpp.

12604 {
12605 return ( sType == rhs.sType )
12606 && ( pNext == rhs.pNext )
12607 && ( dedicatedAllocation == rhs.dedicatedAllocation );
12608 }

References dedicatedAllocation, pNext, and sType.

Referenced by operator!=().

◆ setDedicatedAllocation()

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

Definition at line 12587 of file vulkan.hpp.

12588 {
12589 dedicatedAllocation = dedicatedAllocation_;
12590 return *this;
12591 }

References dedicatedAllocation.

◆ setPNext()

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

Definition at line 12581 of file vulkan.hpp.

12582 {
12583 pNext = pNext_;
12584 return *this;
12585 }

References pNext.

Field Documentation

◆ dedicatedAllocation

Bool32 VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::dedicatedAllocation

Definition at line 12620 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 12619 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::sType = StructureType::eDedicatedAllocationBufferCreateInfoNV
private

Definition at line 12616 of file vulkan.hpp.

Referenced by operator==().


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