SDL 2.0
VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV:

Public Member Functions

 CoarseSampleOrderCustomNV (ShadingRatePaletteEntryNV shadingRate_=ShadingRatePaletteEntryNV::eNoInvocations, uint32_t sampleCount_=0, uint32_t sampleLocationCount_=0, const CoarseSampleLocationNV *pSampleLocations_=nullptr)
 
 CoarseSampleOrderCustomNV (VkCoarseSampleOrderCustomNV const &rhs)
 
CoarseSampleOrderCustomNVoperator= (VkCoarseSampleOrderCustomNV const &rhs)
 
CoarseSampleOrderCustomNVsetShadingRate (ShadingRatePaletteEntryNV shadingRate_)
 
CoarseSampleOrderCustomNVsetSampleCount (uint32_t sampleCount_)
 
CoarseSampleOrderCustomNVsetSampleLocationCount (uint32_t sampleLocationCount_)
 
CoarseSampleOrderCustomNVsetPSampleLocations (const CoarseSampleLocationNV *pSampleLocations_)
 
 operator VkCoarseSampleOrderCustomNV const & () const
 
 operator VkCoarseSampleOrderCustomNV & ()
 
bool operator== (CoarseSampleOrderCustomNV const &rhs) const
 
bool operator!= (CoarseSampleOrderCustomNV const &rhs) const
 

Data Fields

ShadingRatePaletteEntryNV shadingRate
 
uint32_t sampleCount
 
uint32_t sampleLocationCount
 
const CoarseSampleLocationNVpSampleLocations
 

Detailed Description

Definition at line 36666 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ CoarseSampleOrderCustomNV() [1/2]

VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::CoarseSampleOrderCustomNV ( ShadingRatePaletteEntryNV  shadingRate_ = ShadingRatePaletteEntryNV::eNoInvocations,
uint32_t  sampleCount_ = 0,
uint32_t  sampleLocationCount_ = 0,
const CoarseSampleLocationNV pSampleLocations_ = nullptr 
)
inline

Definition at line 36668 of file vulkan.hpp.

36672 : shadingRate( shadingRate_ )
36673 , sampleCount( sampleCount_ )
36674 , sampleLocationCount( sampleLocationCount_ )
36675 , pSampleLocations( pSampleLocations_ )
36676 {
36677 }
const CoarseSampleLocationNV * pSampleLocations
Definition: vulkan.hpp:36739

◆ CoarseSampleOrderCustomNV() [2/2]

VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::CoarseSampleOrderCustomNV ( VkCoarseSampleOrderCustomNV const &  rhs)
inline

Definition at line 36679 of file vulkan.hpp.

36680 {
36681 memcpy( this, &rhs, sizeof( CoarseSampleOrderCustomNV ) );
36682 }
#define memcpy
Definition: SDL_malloc.c:630
CoarseSampleOrderCustomNV(ShadingRatePaletteEntryNV shadingRate_=ShadingRatePaletteEntryNV::eNoInvocations, uint32_t sampleCount_=0, uint32_t sampleLocationCount_=0, const CoarseSampleLocationNV *pSampleLocations_=nullptr)
Definition: vulkan.hpp:36668

References memcpy.

Member Function Documentation

◆ operator VkCoarseSampleOrderCustomNV &()

VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::operator VkCoarseSampleOrderCustomNV & ( )
inline

Definition at line 36718 of file vulkan.hpp.

36719 {
36720 return *reinterpret_cast<VkCoarseSampleOrderCustomNV*>(this);
36721 }

◆ operator VkCoarseSampleOrderCustomNV const &()

VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::operator VkCoarseSampleOrderCustomNV const & ( ) const
inline

Definition at line 36713 of file vulkan.hpp.

36714 {
36715 return *reinterpret_cast<const VkCoarseSampleOrderCustomNV*>(this);
36716 }

◆ operator!=()

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

Definition at line 36731 of file vulkan.hpp.

36732 {
36733 return !operator==( rhs );
36734 }
bool operator==(CoarseSampleOrderCustomNV const &rhs) const
Definition: vulkan.hpp:36723

References operator==().

◆ operator=()

CoarseSampleOrderCustomNV & VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::operator= ( VkCoarseSampleOrderCustomNV const &  rhs)
inline

Definition at line 36684 of file vulkan.hpp.

36685 {
36686 memcpy( this, &rhs, sizeof( CoarseSampleOrderCustomNV ) );
36687 return *this;
36688 }

References memcpy.

◆ operator==()

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

Definition at line 36723 of file vulkan.hpp.

36724 {
36725 return ( shadingRate == rhs.shadingRate )
36726 && ( sampleCount == rhs.sampleCount )
36727 && ( sampleLocationCount == rhs.sampleLocationCount )
36728 && ( pSampleLocations == rhs.pSampleLocations );
36729 }

References pSampleLocations, sampleCount, sampleLocationCount, and shadingRate.

Referenced by operator!=().

◆ setPSampleLocations()

CoarseSampleOrderCustomNV & VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::setPSampleLocations ( const CoarseSampleLocationNV pSampleLocations_)
inline

Definition at line 36707 of file vulkan.hpp.

36708 {
36709 pSampleLocations = pSampleLocations_;
36710 return *this;
36711 }

References pSampleLocations.

◆ setSampleCount()

CoarseSampleOrderCustomNV & VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::setSampleCount ( uint32_t  sampleCount_)
inline

Definition at line 36695 of file vulkan.hpp.

36696 {
36697 sampleCount = sampleCount_;
36698 return *this;
36699 }

References sampleCount.

◆ setSampleLocationCount()

CoarseSampleOrderCustomNV & VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::setSampleLocationCount ( uint32_t  sampleLocationCount_)
inline

Definition at line 36701 of file vulkan.hpp.

36702 {
36703 sampleLocationCount = sampleLocationCount_;
36704 return *this;
36705 }

References sampleLocationCount.

◆ setShadingRate()

CoarseSampleOrderCustomNV & VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::setShadingRate ( ShadingRatePaletteEntryNV  shadingRate_)
inline

Definition at line 36689 of file vulkan.hpp.

36690 {
36691 shadingRate = shadingRate_;
36692 return *this;
36693 }

References shadingRate.

Field Documentation

◆ pSampleLocations

const CoarseSampleLocationNV* VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::pSampleLocations

Definition at line 36739 of file vulkan.hpp.

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

◆ sampleCount

uint32_t VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::sampleCount

Definition at line 36737 of file vulkan.hpp.

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

◆ sampleLocationCount

uint32_t VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::sampleLocationCount

Definition at line 36738 of file vulkan.hpp.

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

◆ shadingRate

ShadingRatePaletteEntryNV VULKAN_HPP_NAMESPACE::CoarseSampleOrderCustomNV::shadingRate

Definition at line 36736 of file vulkan.hpp.

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


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