wisdom
Loading...
Searching...
No Matches
WisBlendStateDesc Struct Reference

Detailed Description

Specification


C version:

// Provided by Wisdom 0.7.0.
typedef struct WisBlendStateDesc {
bool logic_op_enable;
WisLogicOp logic_op;
WisBlendAttachmentDesc attachments[8];
uint32_t attachment_count;

C++ version:

namespace wis{
// Provided by Wisdom 0.7.0.
struct BlendStateDesc {
bool logic_op_enable;
wis::LogicOp logic_op;
std::array<wis::BlendAttachmentDesc, 8> attachments;
std::uint32_t attachment_count;
};
}

Members


  • logic_op_enable specifies logic operation enable. Default is false.
  • logic_op defines logic operation. Default is WisLogicOpNoop.
  • attachments defines blend attachment descriptions. Max Array size is 8.
  • attachment_count describes blend attachment count. If set as 0 - broadcast to all attachments. Max is 8.

Description


See Also


See also
Structs: WisGraphicsPipelineDesc