FCT
载入中...
搜索中...
未找到
FCT::VK_BlendState类 参考

#include <VK_BlendState.h>

类 FCT::VK_BlendState 继承关系图:
Inheritance graph
FCT::VK_BlendState 的协作图:
Collaboration graph

Public 成员函数

 VK_BlendState (VK_Context *ctx)
void create () override
vk::PipelineColorBlendStateCreateInfo & colorBlendStateCreateInfo ()
BlendStateenable (bool enable, int target=-1)
BlendStatefactors (BlendFactor src, BlendFactor dst, int target=-1)
BlendStatecolorFactors (BlendFactor src, BlendFactor dst, int target=-1)
BlendStatealphaFactors (BlendFactor src, BlendFactor dst, int target=-1)
BlendStateop (BlendOp operation, int target=-1)
BlendStatemask (uint8_t writeMask, int target=-1)
BlendStatelogic (LogicOp logicOp, bool enable=true)
BlendStatealpha (int target=-1)
BlendStateadditive (int target=-1)
BlendStatemultiply (int target=-1)
BlendStateopaque (int target=-1)
BlendStatetargets (int count)
bool blendEnable () const
BlendFactor srcColorBlendFactor () const
PipelineResourceType getType () const override
void addRef ()
void release ()
size_t count ()
 operator bool () const

Protected 成员函数

template<typename Func>
void setForTargets (int target, Func func)
virtual void deleteThis ()

Protected 属性

std::vector< Targetm_targets {1}
bool m_logicEnable = false
LogicOp m_logicOp = LogicOp::Copy
std::atomic< size_t > m_refCount

Private 成员函数

vk::BlendFactor convertBlendFactor (BlendFactor factor) const
vk::BlendOp convertBlendOp (BlendOp op) const
vk::LogicOp convertLogicOp (LogicOp op) const

Private 属性

VK_Contextm_ctx
std::vector< vk::PipelineColorBlendAttachmentState > m_attachmentStates
vk::PipelineColorBlendStateCreateInfo m_createInfo

详细描述

在文件 VK_BlendState.h12 行定义.

构造及析构函数说明

◆ VK_BlendState()

FCT::VK_BlendState::VK_BlendState ( VK_Context * ctx)

在文件 VK_BlendState.cpp4 行定义.

成员函数说明

◆ additive()

BlendState & FCT::BlendState::additive ( int target = -1)
inlineinherited

在文件 BlendState.h72 行定义.

函数调用图:

◆ addRef()

void FCT::RefCount::addRef ( )
inlineinherited

在文件 RefCount.h10 行定义.

这是这个函数的调用关系图:

◆ alpha()

BlendState & FCT::BlendState::alpha ( int target = -1)
inlineinherited

在文件 BlendState.h66 行定义.

函数调用图:

◆ alphaFactors()

BlendState & FCT::BlendState::alphaFactors ( BlendFactor src,
BlendFactor dst,
int target = -1 )
inlineinherited

在文件 BlendState.h45 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ blendEnable()

bool FCT::BlendState::blendEnable ( ) const
inlineinherited

在文件 BlendState.h95 行定义.

◆ colorBlendStateCreateInfo()

vk::PipelineColorBlendStateCreateInfo & FCT::VK_BlendState::colorBlendStateCreateInfo ( )
inline

在文件 VK_BlendState.h16 行定义.

◆ colorFactors()

BlendState & FCT::BlendState::colorFactors ( BlendFactor src,
BlendFactor dst,
int target = -1 )
inlineinherited

在文件 BlendState.h40 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ convertBlendFactor()

vk::BlendFactor FCT::VK_BlendState::convertBlendFactor ( BlendFactor factor) const
private

在文件 VK_BlendState.cpp38 行定义.

这是这个函数的调用关系图:

◆ convertBlendOp()

vk::BlendOp FCT::VK_BlendState::convertBlendOp ( BlendOp op) const
private

在文件 VK_BlendState.cpp62 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ convertLogicOp()

vk::LogicOp FCT::VK_BlendState::convertLogicOp ( LogicOp op) const
private

在文件 VK_BlendState.cpp75 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ count()

size_t FCT::RefCount::count ( )
inlineinherited

在文件 RefCount.h19 行定义.

这是这个函数的调用关系图:

◆ create()

void FCT::VK_BlendState::create ( )
overridevirtual

实现了 FCT::BlendState.

在文件 VK_BlendState.cpp9 行定义.

函数调用图:

◆ deleteThis()

virtual void FCT::RefCount::deleteThis ( )
inlineprotectedvirtualinherited

FCT::RHI::Fence , 以及 FCT::RHI::Semaphore 重载.

在文件 RefCount.h27 行定义.

这是这个函数的调用关系图:

◆ enable()

BlendState & FCT::BlendState::enable ( bool enable,
int target = -1 )
inlineinherited

在文件 BlendState.h27 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ factors()

BlendState & FCT::BlendState::factors ( BlendFactor src,
BlendFactor dst,
int target = -1 )
inlineinherited

在文件 BlendState.h32 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ getType()

PipelineResourceType FCT::BlendState::getType ( ) const
inlineoverridevirtualinherited

实现了 FCT::IPipelineResource.

在文件 BlendState.h98 行定义.

◆ logic()

BlendState & FCT::BlendState::logic ( LogicOp logicOp,
bool enable = true )
inlineinherited

在文件 BlendState.h60 行定义.

函数调用图:

◆ mask()

BlendState & FCT::BlendState::mask ( uint8_t writeMask,
int target = -1 )
inlineinherited

在文件 BlendState.h55 行定义.

函数调用图:

◆ multiply()

BlendState & FCT::BlendState::multiply ( int target = -1)
inlineinherited

在文件 BlendState.h79 行定义.

函数调用图:

◆ op()

BlendState & FCT::BlendState::op ( BlendOp operation,
int target = -1 )
inlineinherited

在文件 BlendState.h50 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ opaque()

BlendState & FCT::BlendState::opaque ( int target = -1)
inlineinherited

在文件 BlendState.h85 行定义.

函数调用图:

◆ operator bool()

FCT::RefCount::operator bool ( ) const
inlineinherited

在文件 RefCount.h22 行定义.

◆ release()

void FCT::RefCount::release ( )
inlineinherited

在文件 RefCount.h13 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ setForTargets()

template<typename Func>
void FCT::BlendState::setForTargets ( int target,
Func func )
inlineprotectedinherited

在文件 BlendState.h114 行定义.

这是这个函数的调用关系图:

◆ srcColorBlendFactor()

BlendFactor FCT::BlendState::srcColorBlendFactor ( ) const
inlineinherited

在文件 BlendState.h96 行定义.

◆ targets()

BlendState & FCT::BlendState::targets ( int count)
inlineinherited

在文件 BlendState.h90 行定义.

函数调用图:

类成员变量说明

◆ m_attachmentStates

std::vector<vk::PipelineColorBlendAttachmentState> FCT::VK_BlendState::m_attachmentStates
private

在文件 VK_BlendState.h19 行定义.

◆ m_createInfo

vk::PipelineColorBlendStateCreateInfo FCT::VK_BlendState::m_createInfo
private

在文件 VK_BlendState.h20 行定义.

◆ m_ctx

VK_Context* FCT::VK_BlendState::m_ctx
private

在文件 VK_BlendState.h18 行定义.

◆ m_logicEnable

bool FCT::BlendState::m_logicEnable = false
protectedinherited

在文件 BlendState.h110 行定义.

◆ m_logicOp

LogicOp FCT::BlendState::m_logicOp = LogicOp::Copy
protectedinherited

在文件 BlendState.h111 行定义.

◆ m_refCount

std::atomic<size_t> FCT::RefCount::m_refCount
protectedinherited

在文件 RefCount.h30 行定义.

◆ m_targets

std::vector<Target> FCT::BlendState::m_targets {1}
protectedinherited

在文件 BlendState.h109 行定义.


该类的文档由以下文件生成: