SDL 2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties:

Public Member Functions

 operator VkPhysicalDeviceMemoryProperties const & () const
 
 operator VkPhysicalDeviceMemoryProperties & ()
 
bool operator== (PhysicalDeviceMemoryProperties const &rhs) const
 
bool operator!= (PhysicalDeviceMemoryProperties const &rhs) const
 

Data Fields

uint32_t memoryTypeCount
 
MemoryType memoryTypes [VK_MAX_MEMORY_TYPES]
 
uint32_t memoryHeapCount
 
MemoryHeap memoryHeaps [VK_MAX_MEMORY_HEAPS]
 

Detailed Description

Definition at line 22438 of file vulkan.hpp.

Member Function Documentation

◆ operator VkPhysicalDeviceMemoryProperties &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties::operator VkPhysicalDeviceMemoryProperties & ( )
inline

Definition at line 22445 of file vulkan.hpp.

22446 {
22447 return *reinterpret_cast<VkPhysicalDeviceMemoryProperties*>(this);
22448 }

◆ operator VkPhysicalDeviceMemoryProperties const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties::operator VkPhysicalDeviceMemoryProperties const & ( ) const
inline

Definition at line 22440 of file vulkan.hpp.

22441 {
22442 return *reinterpret_cast<const VkPhysicalDeviceMemoryProperties*>(this);
22443 }

◆ operator!=()

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

Definition at line 22458 of file vulkan.hpp.

22459 {
22460 return !operator==( rhs );
22461 }
bool operator==(PhysicalDeviceMemoryProperties const &rhs) const
Definition: vulkan.hpp:22450

References operator==().

◆ operator==()

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

Definition at line 22450 of file vulkan.hpp.

22451 {
22452 return ( memoryTypeCount == rhs.memoryTypeCount )
22453 && ( memcmp( memoryTypes, rhs.memoryTypes, VK_MAX_MEMORY_TYPES * sizeof( MemoryType ) ) == 0 )
22454 && ( memoryHeapCount == rhs.memoryHeapCount )
22455 && ( memcmp( memoryHeaps, rhs.memoryHeaps, VK_MAX_MEMORY_HEAPS * sizeof( MemoryHeap ) ) == 0 );
22456 }
MemoryHeap memoryHeaps[VK_MAX_MEMORY_HEAPS]
Definition: vulkan.hpp:22466
MemoryType memoryTypes[VK_MAX_MEMORY_TYPES]
Definition: vulkan.hpp:22464
#define VK_MAX_MEMORY_HEAPS
Definition: vulkan_core.h:107
#define VK_MAX_MEMORY_TYPES
Definition: vulkan_core.h:106

References memoryHeapCount, memoryHeaps, memoryTypeCount, memoryTypes, VK_MAX_MEMORY_HEAPS, and VK_MAX_MEMORY_TYPES.

Referenced by operator!=().

Field Documentation

◆ memoryHeapCount

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties::memoryHeapCount

Definition at line 22465 of file vulkan.hpp.

Referenced by operator==().

◆ memoryHeaps

MemoryHeap VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties::memoryHeaps[VK_MAX_MEMORY_HEAPS]

Definition at line 22466 of file vulkan.hpp.

Referenced by operator==().

◆ memoryTypeCount

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties::memoryTypeCount

Definition at line 22463 of file vulkan.hpp.

Referenced by operator==().

◆ memoryTypes

MemoryType VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryProperties::memoryTypes[VK_MAX_MEMORY_TYPES]

Definition at line 22464 of file vulkan.hpp.

Referenced by operator==().


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