#include <VK_BlendState.h>
|
| VK_BlendState (VK_Context *ctx) |
void | create () override |
vk::PipelineColorBlendStateCreateInfo & | colorBlendStateCreateInfo () |
BlendState & | enable (bool enable, int target=-1) |
BlendState & | factors (BlendFactor src, BlendFactor dst, int target=-1) |
BlendState & | colorFactors (BlendFactor src, BlendFactor dst, int target=-1) |
BlendState & | alphaFactors (BlendFactor src, BlendFactor dst, int target=-1) |
BlendState & | op (BlendOp operation, int target=-1) |
BlendState & | mask (uint8_t writeMask, int target=-1) |
BlendState & | logic (LogicOp logicOp, bool enable=true) |
BlendState & | alpha (int target=-1) |
BlendState & | additive (int target=-1) |
BlendState & | multiply (int target=-1) |
BlendState & | opaque (int target=-1) |
BlendState & | targets (int count) |
bool | blendEnable () const |
BlendFactor | srcColorBlendFactor () const |
PipelineResourceType | getType () const override |
void | addRef () |
void | release () |
size_t | count () |
| operator bool () const |
◆ VK_BlendState()
FCT::VK_BlendState::VK_BlendState |
( |
VK_Context * | ctx | ) |
|
◆ additive()
BlendState & FCT::BlendState::additive |
( |
int | target = -1 | ) |
|
|
inlineinherited |
◆ addRef()
void FCT::RefCount::addRef |
( |
| ) |
|
|
inlineinherited |
◆ alpha()
BlendState & FCT::BlendState::alpha |
( |
int | target = -1 | ) |
|
|
inlineinherited |
◆ alphaFactors()
◆ blendEnable()
bool FCT::BlendState::blendEnable |
( |
| ) |
const |
|
inlineinherited |
◆ colorBlendStateCreateInfo()
vk::PipelineColorBlendStateCreateInfo & FCT::VK_BlendState::colorBlendStateCreateInfo |
( |
| ) |
|
|
inline |
◆ colorFactors()
◆ convertBlendFactor()
vk::BlendFactor FCT::VK_BlendState::convertBlendFactor |
( |
BlendFactor | factor | ) |
const |
|
private |
◆ convertBlendOp()
vk::BlendOp FCT::VK_BlendState::convertBlendOp |
( |
BlendOp | op | ) |
const |
|
private |
◆ convertLogicOp()
vk::LogicOp FCT::VK_BlendState::convertLogicOp |
( |
LogicOp | op | ) |
const |
|
private |
◆ count()
size_t FCT::RefCount::count |
( |
| ) |
|
|
inlineinherited |
◆ create()
void FCT::VK_BlendState::create |
( |
| ) |
|
|
overridevirtual |
◆ deleteThis()
virtual void FCT::RefCount::deleteThis |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ enable()
BlendState & FCT::BlendState::enable |
( |
bool | enable, |
|
|
int | target = -1 ) |
|
inlineinherited |
◆ factors()
◆ getType()
|
inlineoverridevirtualinherited |
◆ logic()
◆ mask()
BlendState & FCT::BlendState::mask |
( |
uint8_t | writeMask, |
|
|
int | target = -1 ) |
|
inlineinherited |
◆ multiply()
BlendState & FCT::BlendState::multiply |
( |
int | target = -1 | ) |
|
|
inlineinherited |
◆ op()
◆ opaque()
BlendState & FCT::BlendState::opaque |
( |
int | target = -1 | ) |
|
|
inlineinherited |
◆ operator bool()
FCT::RefCount::operator bool |
( |
| ) |
const |
|
inlineinherited |
◆ release()
void FCT::RefCount::release |
( |
| ) |
|
|
inlineinherited |
◆ setForTargets()
template<typename Func>
void FCT::BlendState::setForTargets |
( |
int | target, |
|
|
Func | func ) |
|
inlineprotectedinherited |
◆ srcColorBlendFactor()
BlendFactor FCT::BlendState::srcColorBlendFactor |
( |
| ) |
const |
|
inlineinherited |
◆ targets()
BlendState & FCT::BlendState::targets |
( |
int | count | ) |
|
|
inlineinherited |
◆ m_attachmentStates
std::vector<vk::PipelineColorBlendAttachmentState> FCT::VK_BlendState::m_attachmentStates |
|
private |
◆ m_createInfo
vk::PipelineColorBlendStateCreateInfo FCT::VK_BlendState::m_createInfo |
|
private |
◆ m_ctx
◆ m_logicEnable
bool FCT::BlendState::m_logicEnable = false |
|
protectedinherited |
◆ m_logicOp
◆ m_refCount
std::atomic<size_t> FCT::RefCount::m_refCount |
|
protectedinherited |
◆ m_targets
std::vector<Target> FCT::BlendState::m_targets {1} |
|
protectedinherited |
该类的文档由以下文件生成: