wisdom
Loading...
Searching...
No Matches
wis::BlendAttachmentDesc Struct Reference

Detailed Description

Blend attachment description for wis::BlendStateDesc.

bool blend_enable = false;
wis::BlendOp color_blend_op = wis::BlendOp::Add;
wis::BlendOp alpha_blend_op = wis::BlendOp::Add;
};
BlendFactor
Blend factor for color blending operations.
Definition api.hpp:922
@ One
Use one for blending.
@ Zero
Use zero for blending.
BlendOp
Blend operation for color blending operations.
Definition api.hpp:948
@ Add
Add the source and destination colors.
ColorComponents
Color component flags. Used for color blending operations.
Definition api.hpp:1300
@ All
Use all color components for blending.
Blend attachment description for wis::BlendStateDesc.
Definition api.hpp:1713

Definition at line 1713 of file api.hpp.

#include <api.hpp>

Public Attributes

bool blend_enable = false
 Blend enable. Default is false.
 
wis::BlendFactor src_color_blend = wis::BlendFactor::One
 Source color blend factor. Default is wis::BlendFactor::One.
 
wis::BlendFactor dst_color_blend = wis::BlendFactor::Zero
 Destination color blend factor. Default is wis::BlendFactor::Zero.
 
wis::BlendOp color_blend_op = wis::BlendOp::Add
 Color blend operation. Default is wis::BlendOp::Add.
 
wis::BlendFactor src_alpha_blend = wis::BlendFactor::One
 Source alpha blend factor. Default is wis::BlendFactor::One.
 
wis::BlendFactor dst_alpha_blend = wis::BlendFactor::Zero
 Destination alpha blend factor. Default is wis::BlendFactor::Zero.
 
wis::BlendOp alpha_blend_op = wis::BlendOp::Add
 Alpha blend operation. Default is wis::BlendOp::Add.
 
wis::ColorComponents color_write_mask = wis::ColorComponents::All
 Color write mask. Default is wis::ColorComponents::All.
 

Data Members

◆ alpha_blend_op

wis::BlendOp wis::BlendAttachmentDesc::alpha_blend_op = wis::BlendOp::Add

Alpha blend operation. Default is wis::BlendOp::Add.

Definition at line 1720 of file api.hpp.

◆ blend_enable

bool wis::BlendAttachmentDesc::blend_enable = false

Blend enable. Default is false.

Definition at line 1714 of file api.hpp.

◆ color_blend_op

wis::BlendOp wis::BlendAttachmentDesc::color_blend_op = wis::BlendOp::Add

Color blend operation. Default is wis::BlendOp::Add.

Definition at line 1717 of file api.hpp.

◆ color_write_mask

wis::ColorComponents wis::BlendAttachmentDesc::color_write_mask = wis::ColorComponents::All

Color write mask. Default is wis::ColorComponents::All.

Definition at line 1721 of file api.hpp.

◆ dst_alpha_blend

wis::BlendFactor wis::BlendAttachmentDesc::dst_alpha_blend = wis::BlendFactor::Zero

Destination alpha blend factor. Default is wis::BlendFactor::Zero.

Definition at line 1719 of file api.hpp.

◆ dst_color_blend

wis::BlendFactor wis::BlendAttachmentDesc::dst_color_blend = wis::BlendFactor::Zero

Destination color blend factor. Default is wis::BlendFactor::Zero.

Definition at line 1716 of file api.hpp.

◆ src_alpha_blend

wis::BlendFactor wis::BlendAttachmentDesc::src_alpha_blend = wis::BlendFactor::One

Source alpha blend factor. Default is wis::BlendFactor::One.

Definition at line 1718 of file api.hpp.

◆ src_color_blend

wis::BlendFactor wis::BlendAttachmentDesc::src_color_blend = wis::BlendFactor::One

Source color blend factor. Default is wis::BlendFactor::One.

Definition at line 1715 of file api.hpp.


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