FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::vulkan::BlendMode Struct Reference

This is a simple abstraction class for VkBlendFactor, VkBlendOp. More...

#include <C_blendMode.hpp>

Public Member Functions

constexpr BlendMode (VkBlendFactor srcBlendFactor, VkBlendFactor dstBlendFactor, VkBlendOp blendOp=VK_BLEND_OP_ADD) noexcept
 
constexpr BlendMode (VkBlendFactor srcColorBlendFactor, VkBlendFactor dstColorBlendFactor, VkBlendOp colorBlendOp, VkBlendFactor srcAlphaBlendFactor, VkBlendFactor dstAlphaBlendFactor, VkBlendOp alphaBlendOp) noexcept
 
constexpr bool operator== (BlendMode const &right) const
 
constexpr bool operator!= (BlendMode const &right) const
 

Public Attributes

VkBlendFactor _srcColorBlendFactor = VK_BLEND_FACTOR_SRC_ALPHA
 
VkBlendFactor _dstColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
 
VkBlendOp _colorBlendOp = VK_BLEND_OP_ADD
 
VkBlendFactor _srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE
 
VkBlendFactor _dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
 
VkBlendOp _alphaBlendOp = VK_BLEND_OP_ADD
 

Detailed Description

This is a simple abstraction class for VkBlendFactor, VkBlendOp.


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