SDL  2.0
VULKAN_HPP_NAMESPACE::SubresourceLayout Struct Reference

#include <vulkan.hpp>

Public Member Functions

 operator VkSubresourceLayout const & () const
 
 operator VkSubresourceLayout & ()
 
bool operator== (SubresourceLayout const &rhs) const
 
bool operator!= (SubresourceLayout const &rhs) const
 

Data Fields

DeviceSize offset
 
DeviceSize size
 
DeviceSize rowPitch
 
DeviceSize arrayPitch
 
DeviceSize depthPitch
 

Detailed Description

Definition at line 5829 of file vulkan.hpp.

Member Function Documentation

◆ operator VkSubresourceLayout &()

VULKAN_HPP_NAMESPACE::SubresourceLayout::operator VkSubresourceLayout & ( )
inline

Definition at line 5836 of file vulkan.hpp.

5837  {
5838  return *reinterpret_cast<VkSubresourceLayout*>(this);
5839  }

◆ operator VkSubresourceLayout const &()

VULKAN_HPP_NAMESPACE::SubresourceLayout::operator VkSubresourceLayout const & ( ) const
inline

Definition at line 5831 of file vulkan.hpp.

5832  {
5833  return *reinterpret_cast<const VkSubresourceLayout*>(this);
5834  }

◆ operator!=()

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

Definition at line 5850 of file vulkan.hpp.

5851  {
5852  return !operator==( rhs );
5853  }

References operator==().

◆ operator==()

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

Definition at line 5841 of file vulkan.hpp.

5842  {
5843  return ( offset == rhs.offset )
5844  && ( size == rhs.size )
5845  && ( rowPitch == rhs.rowPitch )
5846  && ( arrayPitch == rhs.arrayPitch )
5847  && ( depthPitch == rhs.depthPitch );
5848  }

References arrayPitch, depthPitch, offset, rowPitch, and size.

Referenced by operator!=().

Field Documentation

◆ arrayPitch

DeviceSize VULKAN_HPP_NAMESPACE::SubresourceLayout::arrayPitch

Definition at line 5858 of file vulkan.hpp.

Referenced by operator==().

◆ depthPitch

DeviceSize VULKAN_HPP_NAMESPACE::SubresourceLayout::depthPitch

Definition at line 5859 of file vulkan.hpp.

Referenced by operator==().

◆ offset

DeviceSize VULKAN_HPP_NAMESPACE::SubresourceLayout::offset

Definition at line 5855 of file vulkan.hpp.

Referenced by operator==().

◆ rowPitch

DeviceSize VULKAN_HPP_NAMESPACE::SubresourceLayout::rowPitch

Definition at line 5857 of file vulkan.hpp.

Referenced by operator==().

◆ size

DeviceSize VULKAN_HPP_NAMESPACE::SubresourceLayout::size

Definition at line 5856 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
offset
GLintptr offset
Definition: SDL_opengl_glext.h:541
VULKAN_HPP_NAMESPACE::SubresourceLayout::depthPitch
DeviceSize depthPitch
Definition: vulkan.hpp:5859
VULKAN_HPP_NAMESPACE::SubresourceLayout::arrayPitch
DeviceSize arrayPitch
Definition: vulkan.hpp:5858
VULKAN_HPP_NAMESPACE::SubresourceLayout::operator==
bool operator==(SubresourceLayout const &rhs) const
Definition: vulkan.hpp:5841
VkSubresourceLayout
Definition: vulkan_core.h:2234
size
GLsizeiptr size
Definition: SDL_opengl_glext.h:540
VULKAN_HPP_NAMESPACE::SubresourceLayout::rowPitch
DeviceSize rowPitch
Definition: vulkan.hpp:5857