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

#include <BlendState.h>

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

struct  Target

Public 成员函数

virtual ~BlendState () override=default
virtual void create ()=0
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

详细描述

在文件 BlendState.h22 行定义.

构造及析构函数说明

◆ ~BlendState()

virtual FCT::BlendState::~BlendState ( )
overridevirtualdefault

成员函数说明

◆ additive()

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

在文件 BlendState.h72 行定义.

函数调用图:

◆ addRef()

void FCT::RefCount::addRef ( )
inlineinherited

在文件 RefCount.h10 行定义.

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

◆ alpha()

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

在文件 BlendState.h66 行定义.

函数调用图:

◆ alphaFactors()

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

在文件 BlendState.h45 行定义.

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

◆ blendEnable()

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

在文件 BlendState.h95 行定义.

◆ colorFactors()

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

在文件 BlendState.h40 行定义.

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

◆ count()

size_t FCT::RefCount::count ( )
inlineinherited

在文件 RefCount.h19 行定义.

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

◆ create()

virtual void FCT::BlendState::create ( )
pure virtual

FCT::VK_BlendState 内被实现.

◆ 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 )
inline

在文件 BlendState.h27 行定义.

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

◆ factors()

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

在文件 BlendState.h32 行定义.

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

◆ getType()

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

实现了 FCT::IPipelineResource.

在文件 BlendState.h98 行定义.

◆ logic()

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

在文件 BlendState.h60 行定义.

函数调用图:

◆ mask()

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

在文件 BlendState.h55 行定义.

函数调用图:

◆ multiply()

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

在文件 BlendState.h79 行定义.

函数调用图:

◆ op()

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

在文件 BlendState.h50 行定义.

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

◆ opaque()

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

在文件 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 )
inlineprotected

在文件 BlendState.h114 行定义.

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

◆ srcColorBlendFactor()

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

在文件 BlendState.h96 行定义.

◆ targets()

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

在文件 BlendState.h90 行定义.

函数调用图:

类成员变量说明

◆ m_logicEnable

bool FCT::BlendState::m_logicEnable = false
protected

在文件 BlendState.h110 行定义.

◆ m_logicOp

LogicOp FCT::BlendState::m_logicOp = LogicOp::Copy
protected

在文件 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}
protected

在文件 BlendState.h109 行定义.


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