SDL 2.0
VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState:

Public Member Functions

 PipelineColorBlendAttachmentState (Bool32 blendEnable_=0, BlendFactor srcColorBlendFactor_=BlendFactor::eZero, BlendFactor dstColorBlendFactor_=BlendFactor::eZero, BlendOp colorBlendOp_=BlendOp::eAdd, BlendFactor srcAlphaBlendFactor_=BlendFactor::eZero, BlendFactor dstAlphaBlendFactor_=BlendFactor::eZero, BlendOp alphaBlendOp_=BlendOp::eAdd, ColorComponentFlags colorWriteMask_=ColorComponentFlags())
 
 PipelineColorBlendAttachmentState (VkPipelineColorBlendAttachmentState const &rhs)
 
PipelineColorBlendAttachmentStateoperator= (VkPipelineColorBlendAttachmentState const &rhs)
 
PipelineColorBlendAttachmentStatesetBlendEnable (Bool32 blendEnable_)
 
PipelineColorBlendAttachmentStatesetSrcColorBlendFactor (BlendFactor srcColorBlendFactor_)
 
PipelineColorBlendAttachmentStatesetDstColorBlendFactor (BlendFactor dstColorBlendFactor_)
 
PipelineColorBlendAttachmentStatesetColorBlendOp (BlendOp colorBlendOp_)
 
PipelineColorBlendAttachmentStatesetSrcAlphaBlendFactor (BlendFactor srcAlphaBlendFactor_)
 
PipelineColorBlendAttachmentStatesetDstAlphaBlendFactor (BlendFactor dstAlphaBlendFactor_)
 
PipelineColorBlendAttachmentStatesetAlphaBlendOp (BlendOp alphaBlendOp_)
 
PipelineColorBlendAttachmentStatesetColorWriteMask (ColorComponentFlags colorWriteMask_)
 
 operator VkPipelineColorBlendAttachmentState const & () const
 
 operator VkPipelineColorBlendAttachmentState & ()
 
bool operator== (PipelineColorBlendAttachmentState const &rhs) const
 
bool operator!= (PipelineColorBlendAttachmentState const &rhs) const
 

Data Fields

Bool32 blendEnable
 
BlendFactor srcColorBlendFactor
 
BlendFactor dstColorBlendFactor
 
BlendOp colorBlendOp
 
BlendFactor srcAlphaBlendFactor
 
BlendFactor dstAlphaBlendFactor
 
BlendOp alphaBlendOp
 
ColorComponentFlags colorWriteMask
 

Detailed Description

Definition at line 23787 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PipelineColorBlendAttachmentState() [1/2]

VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::PipelineColorBlendAttachmentState ( Bool32  blendEnable_ = 0,
BlendFactor  srcColorBlendFactor_ = BlendFactor::eZero,
BlendFactor  dstColorBlendFactor_ = BlendFactor::eZero,
BlendOp  colorBlendOp_ = BlendOp::eAdd,
BlendFactor  srcAlphaBlendFactor_ = BlendFactor::eZero,
BlendFactor  dstAlphaBlendFactor_ = BlendFactor::eZero,
BlendOp  alphaBlendOp_ = BlendOp::eAdd,
ColorComponentFlags  colorWriteMask_ = ColorComponentFlags() 
)
inline

Definition at line 23789 of file vulkan.hpp.

23797 : blendEnable( blendEnable_ )
23798 , srcColorBlendFactor( srcColorBlendFactor_ )
23799 , dstColorBlendFactor( dstColorBlendFactor_ )
23800 , colorBlendOp( colorBlendOp_ )
23801 , srcAlphaBlendFactor( srcAlphaBlendFactor_ )
23802 , dstAlphaBlendFactor( dstAlphaBlendFactor_ )
23803 , alphaBlendOp( alphaBlendOp_ )
23804 , colorWriteMask( colorWriteMask_ )
23805 {
23806 }

◆ PipelineColorBlendAttachmentState() [2/2]

VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::PipelineColorBlendAttachmentState ( VkPipelineColorBlendAttachmentState const &  rhs)
inline

Definition at line 23808 of file vulkan.hpp.

23809 {
23810 memcpy( this, &rhs, sizeof( PipelineColorBlendAttachmentState ) );
23811 }
#define memcpy
Definition: SDL_malloc.c:630
PipelineColorBlendAttachmentState(Bool32 blendEnable_=0, BlendFactor srcColorBlendFactor_=BlendFactor::eZero, BlendFactor dstColorBlendFactor_=BlendFactor::eZero, BlendOp colorBlendOp_=BlendOp::eAdd, BlendFactor srcAlphaBlendFactor_=BlendFactor::eZero, BlendFactor dstAlphaBlendFactor_=BlendFactor::eZero, BlendOp alphaBlendOp_=BlendOp::eAdd, ColorComponentFlags colorWriteMask_=ColorComponentFlags())
Definition: vulkan.hpp:23789

References memcpy.

Member Function Documentation

◆ operator VkPipelineColorBlendAttachmentState &()

VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::operator VkPipelineColorBlendAttachmentState & ( )
inline

Definition at line 23871 of file vulkan.hpp.

23872 {
23873 return *reinterpret_cast<VkPipelineColorBlendAttachmentState*>(this);
23874 }

◆ operator VkPipelineColorBlendAttachmentState const &()

VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::operator VkPipelineColorBlendAttachmentState const & ( ) const
inline

Definition at line 23866 of file vulkan.hpp.

23867 {
23868 return *reinterpret_cast<const VkPipelineColorBlendAttachmentState*>(this);
23869 }

◆ operator!=()

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

Definition at line 23888 of file vulkan.hpp.

23889 {
23890 return !operator==( rhs );
23891 }
bool operator==(PipelineColorBlendAttachmentState const &rhs) const
Definition: vulkan.hpp:23876

References operator==().

◆ operator=()

PipelineColorBlendAttachmentState & VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::operator= ( VkPipelineColorBlendAttachmentState const &  rhs)
inline

Definition at line 23813 of file vulkan.hpp.

23814 {
23815 memcpy( this, &rhs, sizeof( PipelineColorBlendAttachmentState ) );
23816 return *this;
23817 }

References memcpy.

◆ operator==()

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

Definition at line 23876 of file vulkan.hpp.

23877 {
23878 return ( blendEnable == rhs.blendEnable )
23879 && ( srcColorBlendFactor == rhs.srcColorBlendFactor )
23880 && ( dstColorBlendFactor == rhs.dstColorBlendFactor )
23881 && ( colorBlendOp == rhs.colorBlendOp )
23882 && ( srcAlphaBlendFactor == rhs.srcAlphaBlendFactor )
23883 && ( dstAlphaBlendFactor == rhs.dstAlphaBlendFactor )
23884 && ( alphaBlendOp == rhs.alphaBlendOp )
23885 && ( colorWriteMask == rhs.colorWriteMask );
23886 }

References alphaBlendOp, blendEnable, colorBlendOp, colorWriteMask, dstAlphaBlendFactor, dstColorBlendFactor, srcAlphaBlendFactor, and srcColorBlendFactor.

Referenced by operator!=().

◆ setAlphaBlendOp()

PipelineColorBlendAttachmentState & VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::setAlphaBlendOp ( BlendOp  alphaBlendOp_)
inline

Definition at line 23854 of file vulkan.hpp.

23855 {
23856 alphaBlendOp = alphaBlendOp_;
23857 return *this;
23858 }

References alphaBlendOp.

◆ setBlendEnable()

PipelineColorBlendAttachmentState & VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::setBlendEnable ( Bool32  blendEnable_)
inline

Definition at line 23818 of file vulkan.hpp.

23819 {
23820 blendEnable = blendEnable_;
23821 return *this;
23822 }

References blendEnable.

◆ setColorBlendOp()

PipelineColorBlendAttachmentState & VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::setColorBlendOp ( BlendOp  colorBlendOp_)
inline

Definition at line 23836 of file vulkan.hpp.

23837 {
23838 colorBlendOp = colorBlendOp_;
23839 return *this;
23840 }

References colorBlendOp.

◆ setColorWriteMask()

PipelineColorBlendAttachmentState & VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::setColorWriteMask ( ColorComponentFlags  colorWriteMask_)
inline

Definition at line 23860 of file vulkan.hpp.

23861 {
23862 colorWriteMask = colorWriteMask_;
23863 return *this;
23864 }

References colorWriteMask.

◆ setDstAlphaBlendFactor()

PipelineColorBlendAttachmentState & VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::setDstAlphaBlendFactor ( BlendFactor  dstAlphaBlendFactor_)
inline

Definition at line 23848 of file vulkan.hpp.

23849 {
23850 dstAlphaBlendFactor = dstAlphaBlendFactor_;
23851 return *this;
23852 }

References dstAlphaBlendFactor.

◆ setDstColorBlendFactor()

PipelineColorBlendAttachmentState & VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::setDstColorBlendFactor ( BlendFactor  dstColorBlendFactor_)
inline

Definition at line 23830 of file vulkan.hpp.

23831 {
23832 dstColorBlendFactor = dstColorBlendFactor_;
23833 return *this;
23834 }

References dstColorBlendFactor.

◆ setSrcAlphaBlendFactor()

PipelineColorBlendAttachmentState & VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::setSrcAlphaBlendFactor ( BlendFactor  srcAlphaBlendFactor_)
inline

Definition at line 23842 of file vulkan.hpp.

23843 {
23844 srcAlphaBlendFactor = srcAlphaBlendFactor_;
23845 return *this;
23846 }

References srcAlphaBlendFactor.

◆ setSrcColorBlendFactor()

PipelineColorBlendAttachmentState & VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::setSrcColorBlendFactor ( BlendFactor  srcColorBlendFactor_)
inline

Definition at line 23824 of file vulkan.hpp.

23825 {
23826 srcColorBlendFactor = srcColorBlendFactor_;
23827 return *this;
23828 }

References srcColorBlendFactor.

Field Documentation

◆ alphaBlendOp

BlendOp VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::alphaBlendOp

Definition at line 23899 of file vulkan.hpp.

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

◆ blendEnable

Bool32 VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::blendEnable

Definition at line 23893 of file vulkan.hpp.

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

◆ colorBlendOp

BlendOp VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::colorBlendOp

Definition at line 23896 of file vulkan.hpp.

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

◆ colorWriteMask

ColorComponentFlags VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::colorWriteMask

Definition at line 23900 of file vulkan.hpp.

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

◆ dstAlphaBlendFactor

BlendFactor VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::dstAlphaBlendFactor

Definition at line 23898 of file vulkan.hpp.

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

◆ dstColorBlendFactor

BlendFactor VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::dstColorBlendFactor

Definition at line 23895 of file vulkan.hpp.

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

◆ srcAlphaBlendFactor

BlendFactor VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::srcAlphaBlendFactor

Definition at line 23897 of file vulkan.hpp.

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

◆ srcColorBlendFactor

BlendFactor VULKAN_HPP_NAMESPACE::PipelineColorBlendAttachmentState::srcColorBlendFactor

Definition at line 23894 of file vulkan.hpp.

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


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