SDL 2.0
VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo:

Public Member Functions

 PipelineLayoutCreateInfo (PipelineLayoutCreateFlags flags_=PipelineLayoutCreateFlags(), uint32_t setLayoutCount_=0, const DescriptorSetLayout *pSetLayouts_=nullptr, uint32_t pushConstantRangeCount_=0, const PushConstantRange *pPushConstantRanges_=nullptr)
 
 PipelineLayoutCreateInfo (VkPipelineLayoutCreateInfo const &rhs)
 
PipelineLayoutCreateInfooperator= (VkPipelineLayoutCreateInfo const &rhs)
 
PipelineLayoutCreateInfosetPNext (const void *pNext_)
 
PipelineLayoutCreateInfosetFlags (PipelineLayoutCreateFlags flags_)
 
PipelineLayoutCreateInfosetSetLayoutCount (uint32_t setLayoutCount_)
 
PipelineLayoutCreateInfosetPSetLayouts (const DescriptorSetLayout *pSetLayouts_)
 
PipelineLayoutCreateInfosetPushConstantRangeCount (uint32_t pushConstantRangeCount_)
 
PipelineLayoutCreateInfosetPPushConstantRanges (const PushConstantRange *pPushConstantRanges_)
 
 operator VkPipelineLayoutCreateInfo const & () const
 
 operator VkPipelineLayoutCreateInfo & ()
 
bool operator== (PipelineLayoutCreateInfo const &rhs) const
 
bool operator!= (PipelineLayoutCreateInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
PipelineLayoutCreateFlags flags
 
uint32_t setLayoutCount
 
const DescriptorSetLayoutpSetLayouts
 
uint32_t pushConstantRangeCount
 
const PushConstantRangepPushConstantRanges
 

Private Attributes

StructureType sType = StructureType::ePipelineLayoutCreateInfo
 

Detailed Description

Definition at line 23215 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PipelineLayoutCreateInfo() [1/2]

VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::PipelineLayoutCreateInfo ( PipelineLayoutCreateFlags  flags_ = PipelineLayoutCreateFlags(),
uint32_t  setLayoutCount_ = 0,
const DescriptorSetLayout pSetLayouts_ = nullptr,
uint32_t  pushConstantRangeCount_ = 0,
const PushConstantRange pPushConstantRanges_ = nullptr 
)
inline

Definition at line 23217 of file vulkan.hpp.

23222 : flags( flags_ )
23223 , setLayoutCount( setLayoutCount_ )
23224 , pSetLayouts( pSetLayouts_ )
23225 , pushConstantRangeCount( pushConstantRangeCount_ )
23226 , pPushConstantRanges( pPushConstantRanges_ )
23227 {
23228 }
const PushConstantRange * pPushConstantRanges
Definition: vulkan.hpp:23311
const DescriptorSetLayout * pSetLayouts
Definition: vulkan.hpp:23309

◆ PipelineLayoutCreateInfo() [2/2]

VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::PipelineLayoutCreateInfo ( VkPipelineLayoutCreateInfo const &  rhs)
inline

Definition at line 23230 of file vulkan.hpp.

23231 {
23232 memcpy( this, &rhs, sizeof( PipelineLayoutCreateInfo ) );
23233 }
#define memcpy
Definition: SDL_malloc.c:630
PipelineLayoutCreateInfo(PipelineLayoutCreateFlags flags_=PipelineLayoutCreateFlags(), uint32_t setLayoutCount_=0, const DescriptorSetLayout *pSetLayouts_=nullptr, uint32_t pushConstantRangeCount_=0, const PushConstantRange *pPushConstantRanges_=nullptr)
Definition: vulkan.hpp:23217

References memcpy.

Member Function Documentation

◆ operator VkPipelineLayoutCreateInfo &()

VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::operator VkPipelineLayoutCreateInfo & ( )
inline

Definition at line 23281 of file vulkan.hpp.

23282 {
23283 return *reinterpret_cast<VkPipelineLayoutCreateInfo*>(this);
23284 }

◆ operator VkPipelineLayoutCreateInfo const &()

VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::operator VkPipelineLayoutCreateInfo const & ( ) const
inline

Definition at line 23276 of file vulkan.hpp.

23277 {
23278 return *reinterpret_cast<const VkPipelineLayoutCreateInfo*>(this);
23279 }

◆ operator!=()

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

Definition at line 23297 of file vulkan.hpp.

23298 {
23299 return !operator==( rhs );
23300 }
bool operator==(PipelineLayoutCreateInfo const &rhs) const
Definition: vulkan.hpp:23286

References operator==().

◆ operator=()

PipelineLayoutCreateInfo & VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::operator= ( VkPipelineLayoutCreateInfo const &  rhs)
inline

Definition at line 23235 of file vulkan.hpp.

23236 {
23237 memcpy( this, &rhs, sizeof( PipelineLayoutCreateInfo ) );
23238 return *this;
23239 }

References memcpy.

◆ operator==()

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

Definition at line 23286 of file vulkan.hpp.

23287 {
23288 return ( sType == rhs.sType )
23289 && ( pNext == rhs.pNext )
23290 && ( flags == rhs.flags )
23291 && ( setLayoutCount == rhs.setLayoutCount )
23292 && ( pSetLayouts == rhs.pSetLayouts )
23293 && ( pushConstantRangeCount == rhs.pushConstantRangeCount )
23294 && ( pPushConstantRanges == rhs.pPushConstantRanges );
23295 }
GLbitfield flags

References flags, pNext, pPushConstantRanges, pSetLayouts, pushConstantRangeCount, setLayoutCount, and sType.

Referenced by operator!=().

◆ setFlags()

PipelineLayoutCreateInfo & VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::setFlags ( PipelineLayoutCreateFlags  flags_)
inline

Definition at line 23246 of file vulkan.hpp.

23247 {
23248 flags = flags_;
23249 return *this;
23250 }

◆ setPNext()

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

Definition at line 23240 of file vulkan.hpp.

23241 {
23242 pNext = pNext_;
23243 return *this;
23244 }

References pNext.

◆ setPPushConstantRanges()

PipelineLayoutCreateInfo & VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::setPPushConstantRanges ( const PushConstantRange pPushConstantRanges_)
inline

Definition at line 23270 of file vulkan.hpp.

23271 {
23272 pPushConstantRanges = pPushConstantRanges_;
23273 return *this;
23274 }

References pPushConstantRanges.

◆ setPSetLayouts()

PipelineLayoutCreateInfo & VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::setPSetLayouts ( const DescriptorSetLayout pSetLayouts_)
inline

Definition at line 23258 of file vulkan.hpp.

23259 {
23260 pSetLayouts = pSetLayouts_;
23261 return *this;
23262 }

References pSetLayouts.

◆ setPushConstantRangeCount()

PipelineLayoutCreateInfo & VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::setPushConstantRangeCount ( uint32_t  pushConstantRangeCount_)
inline

Definition at line 23264 of file vulkan.hpp.

23265 {
23266 pushConstantRangeCount = pushConstantRangeCount_;
23267 return *this;
23268 }

References pushConstantRangeCount.

◆ setSetLayoutCount()

PipelineLayoutCreateInfo & VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::setSetLayoutCount ( uint32_t  setLayoutCount_)
inline

Definition at line 23252 of file vulkan.hpp.

23253 {
23254 setLayoutCount = setLayoutCount_;
23255 return *this;
23256 }

References setLayoutCount.

Field Documentation

◆ flags

PipelineLayoutCreateFlags VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::flags

Definition at line 23307 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

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

Definition at line 23306 of file vulkan.hpp.

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

◆ pPushConstantRanges

const PushConstantRange* VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::pPushConstantRanges

Definition at line 23311 of file vulkan.hpp.

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

◆ pSetLayouts

const DescriptorSetLayout* VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::pSetLayouts

Definition at line 23309 of file vulkan.hpp.

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

◆ pushConstantRangeCount

uint32_t VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::pushConstantRangeCount

Definition at line 23310 of file vulkan.hpp.

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

◆ setLayoutCount

uint32_t VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::setLayoutCount

Definition at line 23308 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PipelineLayoutCreateInfo::sType = StructureType::ePipelineLayoutCreateInfo
private

Definition at line 23303 of file vulkan.hpp.

Referenced by operator==().


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