SDL  2.0
VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo:

Public Member Functions

 PipelineDepthStencilStateCreateInfo (PipelineDepthStencilStateCreateFlags flags_=PipelineDepthStencilStateCreateFlags(), Bool32 depthTestEnable_=0, Bool32 depthWriteEnable_=0, CompareOp depthCompareOp_=CompareOp::eNever, Bool32 depthBoundsTestEnable_=0, Bool32 stencilTestEnable_=0, StencilOpState front_=StencilOpState(), StencilOpState back_=StencilOpState(), float minDepthBounds_=0, float maxDepthBounds_=0)
 
 PipelineDepthStencilStateCreateInfo (VkPipelineDepthStencilStateCreateInfo const &rhs)
 
PipelineDepthStencilStateCreateInfooperator= (VkPipelineDepthStencilStateCreateInfo const &rhs)
 
PipelineDepthStencilStateCreateInfosetPNext (const void *pNext_)
 
PipelineDepthStencilStateCreateInfosetFlags (PipelineDepthStencilStateCreateFlags flags_)
 
PipelineDepthStencilStateCreateInfosetDepthTestEnable (Bool32 depthTestEnable_)
 
PipelineDepthStencilStateCreateInfosetDepthWriteEnable (Bool32 depthWriteEnable_)
 
PipelineDepthStencilStateCreateInfosetDepthCompareOp (CompareOp depthCompareOp_)
 
PipelineDepthStencilStateCreateInfosetDepthBoundsTestEnable (Bool32 depthBoundsTestEnable_)
 
PipelineDepthStencilStateCreateInfosetStencilTestEnable (Bool32 stencilTestEnable_)
 
PipelineDepthStencilStateCreateInfosetFront (StencilOpState front_)
 
PipelineDepthStencilStateCreateInfosetBack (StencilOpState back_)
 
PipelineDepthStencilStateCreateInfosetMinDepthBounds (float minDepthBounds_)
 
PipelineDepthStencilStateCreateInfosetMaxDepthBounds (float maxDepthBounds_)
 
 operator VkPipelineDepthStencilStateCreateInfo const & () const
 
 operator VkPipelineDepthStencilStateCreateInfo & ()
 
bool operator== (PipelineDepthStencilStateCreateInfo const &rhs) const
 
bool operator!= (PipelineDepthStencilStateCreateInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
PipelineDepthStencilStateCreateFlags flags
 
Bool32 depthTestEnable
 
Bool32 depthWriteEnable
 
CompareOp depthCompareOp
 
Bool32 depthBoundsTestEnable
 
Bool32 stencilTestEnable
 
StencilOpState front
 
StencilOpState back
 
float minDepthBounds
 
float maxDepthBounds
 

Private Attributes

StructureType sType = StructureType::ePipelineDepthStencilStateCreateInfo
 

Detailed Description

Definition at line 10880 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PipelineDepthStencilStateCreateInfo() [1/2]

VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::PipelineDepthStencilStateCreateInfo ( PipelineDepthStencilStateCreateFlags  flags_ = PipelineDepthStencilStateCreateFlags(),
Bool32  depthTestEnable_ = 0,
Bool32  depthWriteEnable_ = 0,
CompareOp  depthCompareOp_ = CompareOp::eNever,
Bool32  depthBoundsTestEnable_ = 0,
Bool32  stencilTestEnable_ = 0,
StencilOpState  front_ = StencilOpState(),
StencilOpState  back_ = StencilOpState(),
float  minDepthBounds_ = 0,
float  maxDepthBounds_ = 0 
)
inline

Definition at line 10882 of file vulkan.hpp.

10892  : flags( flags_ )
10893  , depthTestEnable( depthTestEnable_ )
10894  , depthWriteEnable( depthWriteEnable_ )
10895  , depthCompareOp( depthCompareOp_ )
10896  , depthBoundsTestEnable( depthBoundsTestEnable_ )
10897  , stencilTestEnable( stencilTestEnable_ )
10898  , front( front_ )
10899  , back( back_ )
10900  , minDepthBounds( minDepthBounds_ )
10901  , maxDepthBounds( maxDepthBounds_ )
10902  {
10903  }
PipelineDepthStencilStateCreateFlags flags
Definition: vulkan.hpp:11017

◆ PipelineDepthStencilStateCreateInfo() [2/2]

VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::PipelineDepthStencilStateCreateInfo ( VkPipelineDepthStencilStateCreateInfo const &  rhs)
inline

Definition at line 10905 of file vulkan.hpp.

References memcpy.

10906  {
10907  memcpy( this, &rhs, sizeof( PipelineDepthStencilStateCreateInfo ) );
10908  }
#define memcpy
Definition: SDL_malloc.c:630
PipelineDepthStencilStateCreateInfo(PipelineDepthStencilStateCreateFlags flags_=PipelineDepthStencilStateCreateFlags(), Bool32 depthTestEnable_=0, Bool32 depthWriteEnable_=0, CompareOp depthCompareOp_=CompareOp::eNever, Bool32 depthBoundsTestEnable_=0, Bool32 stencilTestEnable_=0, StencilOpState front_=StencilOpState(), StencilOpState back_=StencilOpState(), float minDepthBounds_=0, float maxDepthBounds_=0)
Definition: vulkan.hpp:10882

Member Function Documentation

◆ operator VkPipelineDepthStencilStateCreateInfo &()

VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::operator VkPipelineDepthStencilStateCreateInfo & ( )
inline

Definition at line 10986 of file vulkan.hpp.

10987  {
10988  return *reinterpret_cast<VkPipelineDepthStencilStateCreateInfo*>(this);
10989  }

◆ operator VkPipelineDepthStencilStateCreateInfo const &()

VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::operator VkPipelineDepthStencilStateCreateInfo const & ( ) const
inline

Definition at line 10981 of file vulkan.hpp.

10982  {
10983  return *reinterpret_cast<const VkPipelineDepthStencilStateCreateInfo*>(this);
10984  }

◆ operator!=()

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

Definition at line 11007 of file vulkan.hpp.

11008  {
11009  return !operator==( rhs );
11010  }
bool operator==(PipelineDepthStencilStateCreateInfo const &rhs) const
Definition: vulkan.hpp:10991

◆ operator=()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::operator= ( VkPipelineDepthStencilStateCreateInfo const &  rhs)
inline

Definition at line 10910 of file vulkan.hpp.

References memcpy.

10911  {
10912  memcpy( this, &rhs, sizeof( PipelineDepthStencilStateCreateInfo ) );
10913  return *this;
10914  }
#define memcpy
Definition: SDL_malloc.c:630
PipelineDepthStencilStateCreateInfo(PipelineDepthStencilStateCreateFlags flags_=PipelineDepthStencilStateCreateFlags(), Bool32 depthTestEnable_=0, Bool32 depthWriteEnable_=0, CompareOp depthCompareOp_=CompareOp::eNever, Bool32 depthBoundsTestEnable_=0, Bool32 stencilTestEnable_=0, StencilOpState front_=StencilOpState(), StencilOpState back_=StencilOpState(), float minDepthBounds_=0, float maxDepthBounds_=0)
Definition: vulkan.hpp:10882

◆ operator==()

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

Definition at line 10991 of file vulkan.hpp.

References back, depthBoundsTestEnable, depthCompareOp, depthTestEnable, depthWriteEnable, flags, front, maxDepthBounds, minDepthBounds, pNext, stencilTestEnable, and sType.

10992  {
10993  return ( sType == rhs.sType )
10994  && ( pNext == rhs.pNext )
10995  && ( flags == rhs.flags )
10996  && ( depthTestEnable == rhs.depthTestEnable )
10997  && ( depthWriteEnable == rhs.depthWriteEnable )
10998  && ( depthCompareOp == rhs.depthCompareOp )
10999  && ( depthBoundsTestEnable == rhs.depthBoundsTestEnable )
11000  && ( stencilTestEnable == rhs.stencilTestEnable )
11001  && ( front == rhs.front )
11002  && ( back == rhs.back )
11003  && ( minDepthBounds == rhs.minDepthBounds )
11004  && ( maxDepthBounds == rhs.maxDepthBounds );
11005  }
GLbitfield flags

◆ setBack()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setBack ( StencilOpState  back_)
inline

Definition at line 10963 of file vulkan.hpp.

10964  {
10965  back = back_;
10966  return *this;
10967  }

◆ setDepthBoundsTestEnable()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setDepthBoundsTestEnable ( Bool32  depthBoundsTestEnable_)
inline

Definition at line 10945 of file vulkan.hpp.

10946  {
10947  depthBoundsTestEnable = depthBoundsTestEnable_;
10948  return *this;
10949  }

◆ setDepthCompareOp()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setDepthCompareOp ( CompareOp  depthCompareOp_)
inline

Definition at line 10939 of file vulkan.hpp.

10940  {
10941  depthCompareOp = depthCompareOp_;
10942  return *this;
10943  }

◆ setDepthTestEnable()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setDepthTestEnable ( Bool32  depthTestEnable_)
inline

Definition at line 10927 of file vulkan.hpp.

10928  {
10929  depthTestEnable = depthTestEnable_;
10930  return *this;
10931  }

◆ setDepthWriteEnable()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setDepthWriteEnable ( Bool32  depthWriteEnable_)
inline

Definition at line 10933 of file vulkan.hpp.

10934  {
10935  depthWriteEnable = depthWriteEnable_;
10936  return *this;
10937  }

◆ setFlags()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setFlags ( PipelineDepthStencilStateCreateFlags  flags_)
inline

Definition at line 10921 of file vulkan.hpp.

10922  {
10923  flags = flags_;
10924  return *this;
10925  }
GLbitfield flags

◆ setFront()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setFront ( StencilOpState  front_)
inline

Definition at line 10957 of file vulkan.hpp.

10958  {
10959  front = front_;
10960  return *this;
10961  }

◆ setMaxDepthBounds()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setMaxDepthBounds ( float  maxDepthBounds_)
inline

Definition at line 10975 of file vulkan.hpp.

10976  {
10977  maxDepthBounds = maxDepthBounds_;
10978  return *this;
10979  }

◆ setMinDepthBounds()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setMinDepthBounds ( float  minDepthBounds_)
inline

Definition at line 10969 of file vulkan.hpp.

10970  {
10971  minDepthBounds = minDepthBounds_;
10972  return *this;
10973  }

◆ setPNext()

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

Definition at line 10915 of file vulkan.hpp.

10916  {
10917  pNext = pNext_;
10918  return *this;
10919  }

◆ setStencilTestEnable()

PipelineDepthStencilStateCreateInfo& VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::setStencilTestEnable ( Bool32  stencilTestEnable_)
inline

Definition at line 10951 of file vulkan.hpp.

10952  {
10953  stencilTestEnable = stencilTestEnable_;
10954  return *this;
10955  }

Field Documentation

◆ back

StencilOpState VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::back

Definition at line 11024 of file vulkan.hpp.

Referenced by operator==().

◆ depthBoundsTestEnable

Bool32 VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::depthBoundsTestEnable

Definition at line 11021 of file vulkan.hpp.

Referenced by operator==().

◆ depthCompareOp

CompareOp VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::depthCompareOp

Definition at line 11020 of file vulkan.hpp.

Referenced by operator==().

◆ depthTestEnable

Bool32 VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::depthTestEnable

Definition at line 11018 of file vulkan.hpp.

Referenced by operator==().

◆ depthWriteEnable

Bool32 VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::depthWriteEnable

Definition at line 11019 of file vulkan.hpp.

Referenced by operator==().

◆ flags

PipelineDepthStencilStateCreateFlags VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::flags

Definition at line 11017 of file vulkan.hpp.

Referenced by operator==().

◆ front

StencilOpState VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::front

Definition at line 11023 of file vulkan.hpp.

Referenced by operator==().

◆ maxDepthBounds

float VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::maxDepthBounds

Definition at line 11026 of file vulkan.hpp.

Referenced by operator==().

◆ minDepthBounds

float VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::minDepthBounds

Definition at line 11025 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

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

Definition at line 11016 of file vulkan.hpp.

Referenced by operator==().

◆ stencilTestEnable

Bool32 VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::stencilTestEnable

Definition at line 11022 of file vulkan.hpp.

Referenced by operator==().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PipelineDepthStencilStateCreateInfo::sType = StructureType::ePipelineDepthStencilStateCreateInfo
private

Definition at line 11013 of file vulkan.hpp.

Referenced by operator==().


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