SDL 2.0
VULKAN_HPP_NAMESPACE::ImageViewCreateInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::ImageViewCreateInfo:

Public Member Functions

 ImageViewCreateInfo (ImageViewCreateFlags flags_=ImageViewCreateFlags(), Image image_=Image(), ImageViewType viewType_=ImageViewType::e1D, Format format_=Format::eUndefined, ComponentMapping components_=ComponentMapping(), ImageSubresourceRange subresourceRange_=ImageSubresourceRange())
 
 ImageViewCreateInfo (VkImageViewCreateInfo const &rhs)
 
ImageViewCreateInfooperator= (VkImageViewCreateInfo const &rhs)
 
ImageViewCreateInfosetPNext (const void *pNext_)
 
ImageViewCreateInfosetFlags (ImageViewCreateFlags flags_)
 
ImageViewCreateInfosetImage (Image image_)
 
ImageViewCreateInfosetViewType (ImageViewType viewType_)
 
ImageViewCreateInfosetFormat (Format format_)
 
ImageViewCreateInfosetComponents (ComponentMapping components_)
 
ImageViewCreateInfosetSubresourceRange (ImageSubresourceRange subresourceRange_)
 
 operator VkImageViewCreateInfo const & () const
 
 operator VkImageViewCreateInfo & ()
 
bool operator== (ImageViewCreateInfo const &rhs) const
 
bool operator!= (ImageViewCreateInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
ImageViewCreateFlags flags
 
Image image
 
ImageViewType viewType
 
Format format
 
ComponentMapping components
 
ImageSubresourceRange subresourceRange
 

Private Attributes

StructureType sType = StructureType::eImageViewCreateInfo
 

Detailed Description

Definition at line 25105 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ImageViewCreateInfo() [1/2]

VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::ImageViewCreateInfo ( ImageViewCreateFlags  flags_ = ImageViewCreateFlags(),
Image  image_ = Image(),
ImageViewType  viewType_ = ImageViewType::e1D,
Format  format_ = Format::eUndefined,
ComponentMapping  components_ = ComponentMapping(),
ImageSubresourceRange  subresourceRange_ = ImageSubresourceRange() 
)
inline

Definition at line 25107 of file vulkan.hpp.

25113 : flags( flags_ )
25114 , image( image_ )
25115 , viewType( viewType_ )
25116 , format( format_ )
25117 , components( components_ )
25118 , subresourceRange( subresourceRange_ )
25119 {
25120 }
ImageSubresourceRange subresourceRange
Definition: vulkan.hpp:25211

◆ ImageViewCreateInfo() [2/2]

VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::ImageViewCreateInfo ( VkImageViewCreateInfo const &  rhs)
inline

Definition at line 25122 of file vulkan.hpp.

25123 {
25124 memcpy( this, &rhs, sizeof( ImageViewCreateInfo ) );
25125 }
#define memcpy
Definition: SDL_malloc.c:630
ImageViewCreateInfo(ImageViewCreateFlags flags_=ImageViewCreateFlags(), Image image_=Image(), ImageViewType viewType_=ImageViewType::e1D, Format format_=Format::eUndefined, ComponentMapping components_=ComponentMapping(), ImageSubresourceRange subresourceRange_=ImageSubresourceRange())
Definition: vulkan.hpp:25107

References memcpy.

Member Function Documentation

◆ operator VkImageViewCreateInfo &()

VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::operator VkImageViewCreateInfo & ( )
inline

Definition at line 25179 of file vulkan.hpp.

25180 {
25181 return *reinterpret_cast<VkImageViewCreateInfo*>(this);
25182 }

◆ operator VkImageViewCreateInfo const &()

VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::operator VkImageViewCreateInfo const & ( ) const
inline

Definition at line 25174 of file vulkan.hpp.

25175 {
25176 return *reinterpret_cast<const VkImageViewCreateInfo*>(this);
25177 }

◆ operator!=()

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

Definition at line 25196 of file vulkan.hpp.

25197 {
25198 return !operator==( rhs );
25199 }
bool operator==(ImageViewCreateInfo const &rhs) const
Definition: vulkan.hpp:25184

References operator==().

◆ operator=()

ImageViewCreateInfo & VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::operator= ( VkImageViewCreateInfo const &  rhs)
inline

Definition at line 25127 of file vulkan.hpp.

25128 {
25129 memcpy( this, &rhs, sizeof( ImageViewCreateInfo ) );
25130 return *this;
25131 }

References memcpy.

◆ operator==()

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

Definition at line 25184 of file vulkan.hpp.

25185 {
25186 return ( sType == rhs.sType )
25187 && ( pNext == rhs.pNext )
25188 && ( flags == rhs.flags )
25189 && ( image == rhs.image )
25190 && ( viewType == rhs.viewType )
25191 && ( format == rhs.format )
25192 && ( components == rhs.components )
25193 && ( subresourceRange == rhs.subresourceRange );
25194 }
GLeglImageOES image
Definition: SDL_opengl.h:2148
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: SDL_opengl.h:1572
GLenum GLenum GLuint components
GLbitfield flags

References components, flags, format, image, pNext, sType, subresourceRange, and viewType.

Referenced by operator!=().

◆ setComponents()

ImageViewCreateInfo & VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::setComponents ( ComponentMapping  components_)
inline

Definition at line 25162 of file vulkan.hpp.

25163 {
25164 components = components_;
25165 return *this;
25166 }

◆ setFlags()

ImageViewCreateInfo & VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::setFlags ( ImageViewCreateFlags  flags_)
inline

Definition at line 25138 of file vulkan.hpp.

25139 {
25140 flags = flags_;
25141 return *this;
25142 }

◆ setFormat()

ImageViewCreateInfo & VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::setFormat ( Format  format_)
inline

Definition at line 25156 of file vulkan.hpp.

25157 {
25158 format = format_;
25159 return *this;
25160 }

◆ setImage()

ImageViewCreateInfo & VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::setImage ( Image  image_)
inline

Definition at line 25144 of file vulkan.hpp.

25145 {
25146 image = image_;
25147 return *this;
25148 }

◆ setPNext()

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

Definition at line 25132 of file vulkan.hpp.

25133 {
25134 pNext = pNext_;
25135 return *this;
25136 }

References pNext.

◆ setSubresourceRange()

ImageViewCreateInfo & VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::setSubresourceRange ( ImageSubresourceRange  subresourceRange_)
inline

Definition at line 25168 of file vulkan.hpp.

25169 {
25170 subresourceRange = subresourceRange_;
25171 return *this;
25172 }

References subresourceRange.

◆ setViewType()

ImageViewCreateInfo & VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::setViewType ( ImageViewType  viewType_)
inline

Definition at line 25150 of file vulkan.hpp.

25151 {
25152 viewType = viewType_;
25153 return *this;
25154 }

References viewType.

Field Documentation

◆ components

ComponentMapping VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::components

Definition at line 25210 of file vulkan.hpp.

Referenced by operator==().

◆ flags

ImageViewCreateFlags VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::flags

Definition at line 25206 of file vulkan.hpp.

Referenced by operator==().

◆ format

Format VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::format

Definition at line 25209 of file vulkan.hpp.

Referenced by operator==().

◆ image

Image VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::image

Definition at line 25207 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

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

Definition at line 25205 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::sType = StructureType::eImageViewCreateInfo
private

Definition at line 25202 of file vulkan.hpp.

Referenced by operator==().

◆ subresourceRange

ImageSubresourceRange VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::subresourceRange

Definition at line 25211 of file vulkan.hpp.

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

◆ viewType

ImageViewType VULKAN_HPP_NAMESPACE::ImageViewCreateInfo::viewType

Definition at line 25208 of file vulkan.hpp.

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


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