SDL 2.0
VULKAN_HPP_NAMESPACE::ProtectedSubmitInfo Struct Reference

#include <vulkan.hpp>

Public Member Functions

 ProtectedSubmitInfo (Bool32 protectedSubmit_=0)
 
 ProtectedSubmitInfo (VkProtectedSubmitInfo const &rhs)
 
ProtectedSubmitInfooperator= (VkProtectedSubmitInfo const &rhs)
 
ProtectedSubmitInfosetPNext (const void *pNext_)
 
ProtectedSubmitInfosetProtectedSubmit (Bool32 protectedSubmit_)
 
 operator VkProtectedSubmitInfo const & () const
 
 operator VkProtectedSubmitInfo & ()
 
bool operator== (ProtectedSubmitInfo const &rhs) const
 
bool operator!= (ProtectedSubmitInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
Bool32 protectedSubmit
 

Private Attributes

StructureType sType = StructureType::eProtectedSubmitInfo
 

Detailed Description

Definition at line 16407 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ProtectedSubmitInfo() [1/2]

VULKAN_HPP_NAMESPACE::ProtectedSubmitInfo::ProtectedSubmitInfo ( Bool32  protectedSubmit_ = 0)
inline

Definition at line 16409 of file vulkan.hpp.

16410 : protectedSubmit( protectedSubmit_ )
16411 {
16412 }

◆ ProtectedSubmitInfo() [2/2]

VULKAN_HPP_NAMESPACE::ProtectedSubmitInfo::ProtectedSubmitInfo ( VkProtectedSubmitInfo const &  rhs)
inline

Definition at line 16414 of file vulkan.hpp.

16415 {
16416 memcpy( this, &rhs, sizeof( ProtectedSubmitInfo ) );
16417 }
#define memcpy
Definition: SDL_malloc.c:630
ProtectedSubmitInfo(Bool32 protectedSubmit_=0)
Definition: vulkan.hpp:16409

References memcpy.

Member Function Documentation

◆ operator VkProtectedSubmitInfo &()

VULKAN_HPP_NAMESPACE::ProtectedSubmitInfo::operator VkProtectedSubmitInfo & ( )
inline

Definition at line 16441 of file vulkan.hpp.

16442 {
16443 return *reinterpret_cast<VkProtectedSubmitInfo*>(this);
16444 }

◆ operator VkProtectedSubmitInfo const &()

VULKAN_HPP_NAMESPACE::ProtectedSubmitInfo::operator VkProtectedSubmitInfo const & ( ) const
inline

Definition at line 16436 of file vulkan.hpp.

16437 {
16438 return *reinterpret_cast<const VkProtectedSubmitInfo*>(this);
16439 }

◆ operator!=()

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

Definition at line 16453 of file vulkan.hpp.

16454 {
16455 return !operator==( rhs );
16456 }
bool operator==(ProtectedSubmitInfo const &rhs) const
Definition: vulkan.hpp:16446

References operator==().

◆ operator=()

ProtectedSubmitInfo & VULKAN_HPP_NAMESPACE::ProtectedSubmitInfo::operator= ( VkProtectedSubmitInfo const &  rhs)
inline

Definition at line 16419 of file vulkan.hpp.

16420 {
16421 memcpy( this, &rhs, sizeof( ProtectedSubmitInfo ) );
16422 return *this;
16423 }

References memcpy.

◆ operator==()

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

Definition at line 16446 of file vulkan.hpp.

16447 {
16448 return ( sType == rhs.sType )
16449 && ( pNext == rhs.pNext )
16450 && ( protectedSubmit == rhs.protectedSubmit );
16451 }

References pNext, protectedSubmit, and sType.

Referenced by operator!=().

◆ setPNext()

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

Definition at line 16424 of file vulkan.hpp.

16425 {
16426 pNext = pNext_;
16427 return *this;
16428 }

References pNext.

◆ setProtectedSubmit()

ProtectedSubmitInfo & VULKAN_HPP_NAMESPACE::ProtectedSubmitInfo::setProtectedSubmit ( Bool32  protectedSubmit_)
inline

Definition at line 16430 of file vulkan.hpp.

16431 {
16432 protectedSubmit = protectedSubmit_;
16433 return *this;
16434 }

References protectedSubmit.

Field Documentation

◆ pNext

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

Definition at line 16462 of file vulkan.hpp.

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

◆ protectedSubmit

Bool32 VULKAN_HPP_NAMESPACE::ProtectedSubmitInfo::protectedSubmit

Definition at line 16463 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::ProtectedSubmitInfo::sType = StructureType::eProtectedSubmitInfo
private

Definition at line 16459 of file vulkan.hpp.

Referenced by operator==().


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