SDL 2.0
VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT:

Public Member Functions

 PipelineSampleLocationsStateCreateInfoEXT (Bool32 sampleLocationsEnable_=0, SampleLocationsInfoEXT sampleLocationsInfo_=SampleLocationsInfoEXT())
 
 PipelineSampleLocationsStateCreateInfoEXT (VkPipelineSampleLocationsStateCreateInfoEXT const &rhs)
 
PipelineSampleLocationsStateCreateInfoEXToperator= (VkPipelineSampleLocationsStateCreateInfoEXT const &rhs)
 
PipelineSampleLocationsStateCreateInfoEXTsetPNext (const void *pNext_)
 
PipelineSampleLocationsStateCreateInfoEXTsetSampleLocationsEnable (Bool32 sampleLocationsEnable_)
 
PipelineSampleLocationsStateCreateInfoEXTsetSampleLocationsInfo (SampleLocationsInfoEXT sampleLocationsInfo_)
 
 operator VkPipelineSampleLocationsStateCreateInfoEXT const & () const
 
 operator VkPipelineSampleLocationsStateCreateInfoEXT & ()
 
bool operator== (PipelineSampleLocationsStateCreateInfoEXT const &rhs) const
 
bool operator!= (PipelineSampleLocationsStateCreateInfoEXT const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
Bool32 sampleLocationsEnable
 
SampleLocationsInfoEXT sampleLocationsInfo
 

Private Attributes

StructureType sType = StructureType::ePipelineSampleLocationsStateCreateInfoEXT
 

Detailed Description

Definition at line 28277 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PipelineSampleLocationsStateCreateInfoEXT() [1/2]

VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::PipelineSampleLocationsStateCreateInfoEXT ( Bool32  sampleLocationsEnable_ = 0,
SampleLocationsInfoEXT  sampleLocationsInfo_ = SampleLocationsInfoEXT() 
)
inline

Definition at line 28279 of file vulkan.hpp.

28281 : sampleLocationsEnable( sampleLocationsEnable_ )
28282 , sampleLocationsInfo( sampleLocationsInfo_ )
28283 {
28284 }

◆ PipelineSampleLocationsStateCreateInfoEXT() [2/2]

VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::PipelineSampleLocationsStateCreateInfoEXT ( VkPipelineSampleLocationsStateCreateInfoEXT const &  rhs)
inline

Definition at line 28286 of file vulkan.hpp.

28287 {
28288 memcpy( this, &rhs, sizeof( PipelineSampleLocationsStateCreateInfoEXT ) );
28289 }
#define memcpy
Definition: SDL_malloc.c:630
PipelineSampleLocationsStateCreateInfoEXT(Bool32 sampleLocationsEnable_=0, SampleLocationsInfoEXT sampleLocationsInfo_=SampleLocationsInfoEXT())
Definition: vulkan.hpp:28279

References memcpy.

Member Function Documentation

◆ operator VkPipelineSampleLocationsStateCreateInfoEXT &()

VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::operator VkPipelineSampleLocationsStateCreateInfoEXT & ( )
inline

Definition at line 28319 of file vulkan.hpp.

28320 {
28321 return *reinterpret_cast<VkPipelineSampleLocationsStateCreateInfoEXT*>(this);
28322 }

◆ operator VkPipelineSampleLocationsStateCreateInfoEXT const &()

VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::operator VkPipelineSampleLocationsStateCreateInfoEXT const & ( ) const
inline

Definition at line 28314 of file vulkan.hpp.

28315 {
28316 return *reinterpret_cast<const VkPipelineSampleLocationsStateCreateInfoEXT*>(this);
28317 }

◆ operator!=()

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

Definition at line 28332 of file vulkan.hpp.

28333 {
28334 return !operator==( rhs );
28335 }
bool operator==(PipelineSampleLocationsStateCreateInfoEXT const &rhs) const
Definition: vulkan.hpp:28324

References operator==().

◆ operator=()

PipelineSampleLocationsStateCreateInfoEXT & VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::operator= ( VkPipelineSampleLocationsStateCreateInfoEXT const &  rhs)
inline

Definition at line 28291 of file vulkan.hpp.

28292 {
28293 memcpy( this, &rhs, sizeof( PipelineSampleLocationsStateCreateInfoEXT ) );
28294 return *this;
28295 }

References memcpy.

◆ operator==()

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

Definition at line 28324 of file vulkan.hpp.

28325 {
28326 return ( sType == rhs.sType )
28327 && ( pNext == rhs.pNext )
28328 && ( sampleLocationsEnable == rhs.sampleLocationsEnable )
28329 && ( sampleLocationsInfo == rhs.sampleLocationsInfo );
28330 }

References pNext, sampleLocationsEnable, sampleLocationsInfo, and sType.

Referenced by operator!=().

◆ setPNext()

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

Definition at line 28296 of file vulkan.hpp.

28297 {
28298 pNext = pNext_;
28299 return *this;
28300 }

References pNext.

◆ setSampleLocationsEnable()

PipelineSampleLocationsStateCreateInfoEXT & VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::setSampleLocationsEnable ( Bool32  sampleLocationsEnable_)
inline

Definition at line 28302 of file vulkan.hpp.

28303 {
28304 sampleLocationsEnable = sampleLocationsEnable_;
28305 return *this;
28306 }

References sampleLocationsEnable.

◆ setSampleLocationsInfo()

PipelineSampleLocationsStateCreateInfoEXT & VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::setSampleLocationsInfo ( SampleLocationsInfoEXT  sampleLocationsInfo_)
inline

Definition at line 28308 of file vulkan.hpp.

28309 {
28310 sampleLocationsInfo = sampleLocationsInfo_;
28311 return *this;
28312 }

References sampleLocationsInfo.

Field Documentation

◆ pNext

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

Definition at line 28341 of file vulkan.hpp.

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

◆ sampleLocationsEnable

Bool32 VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::sampleLocationsEnable

Definition at line 28342 of file vulkan.hpp.

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

◆ sampleLocationsInfo

SampleLocationsInfoEXT VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::sampleLocationsInfo

Definition at line 28343 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PipelineSampleLocationsStateCreateInfoEXT::sType = StructureType::ePipelineSampleLocationsStateCreateInfoEXT
private

Definition at line 28338 of file vulkan.hpp.

Referenced by operator==().


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