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

#include <DepthStencilState.h>

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

Public 成员函数

virtual ~DepthStencilState () override=default
virtual void create ()=0
bool depthTestEnable () const
void depthTestEnable (bool enable)
bool depthWriteEnable () const
void depthWriteEnable (bool enable)
CompareOp depthCompareOp () const
void depthCompareOp (CompareOp op)
bool depthBoundsTestEnable () const
void depthBoundsTestEnable (bool enable)
bool stencilTestEnable () const
void stencilTestEnable (bool enable)
const StencilOpStatefront () const
void front (const StencilOpState &state)
const StencilOpStateback () const
void back (const StencilOpState &state)
float minDepthBounds () const
void minDepthBounds (float value)
float maxDepthBounds () const
void maxDepthBounds (float value)
PipelineResourceType getType () const override
void addRef ()
void release ()
size_t count ()
 operator bool () const

Protected 成员函数

virtual void deleteThis ()

Protected 属性

bool m_depthTestEnable = true
bool m_depthWriteEnable = true
CompareOp m_depthCompareOp = CompareOp::LessOrEqual
bool m_depthBoundsTestEnable = false
bool m_stencilTestEnable = false
StencilOpState m_front
StencilOpState m_back
float m_minDepthBounds = 0.0f
float m_maxDepthBounds = 1.0f
std::atomic< size_t > m_refCount

详细描述

在文件 DepthStencilState.h32 行定义.

构造及析构函数说明

◆ ~DepthStencilState()

virtual FCT::DepthStencilState::~DepthStencilState ( )
overridevirtualdefault

成员函数说明

◆ addRef()

void FCT::RefCount::addRef ( )
inlineinherited

在文件 RefCount.h10 行定义.

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

◆ back() [1/2]

const StencilOpState & FCT::DepthStencilState::back ( ) const
inline

在文件 DepthStencilState.h56 行定义.

◆ back() [2/2]

void FCT::DepthStencilState::back ( const StencilOpState & state)
inline

在文件 DepthStencilState.h57 行定义.

◆ count()

size_t FCT::RefCount::count ( )
inlineinherited

在文件 RefCount.h19 行定义.

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

◆ create()

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

FCT::RHI::VK_DepthStencilState 内被实现.

◆ deleteThis()

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

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

在文件 RefCount.h27 行定义.

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

◆ depthBoundsTestEnable() [1/2]

bool FCT::DepthStencilState::depthBoundsTestEnable ( ) const
inline

在文件 DepthStencilState.h47 行定义.

◆ depthBoundsTestEnable() [2/2]

void FCT::DepthStencilState::depthBoundsTestEnable ( bool enable)
inline

在文件 DepthStencilState.h48 行定义.

◆ depthCompareOp() [1/2]

CompareOp FCT::DepthStencilState::depthCompareOp ( ) const
inline

在文件 DepthStencilState.h44 行定义.

◆ depthCompareOp() [2/2]

void FCT::DepthStencilState::depthCompareOp ( CompareOp op)
inline

在文件 DepthStencilState.h45 行定义.

◆ depthTestEnable() [1/2]

bool FCT::DepthStencilState::depthTestEnable ( ) const
inline

在文件 DepthStencilState.h38 行定义.

◆ depthTestEnable() [2/2]

void FCT::DepthStencilState::depthTestEnable ( bool enable)
inline

在文件 DepthStencilState.h39 行定义.

◆ depthWriteEnable() [1/2]

bool FCT::DepthStencilState::depthWriteEnable ( ) const
inline

在文件 DepthStencilState.h41 行定义.

◆ depthWriteEnable() [2/2]

void FCT::DepthStencilState::depthWriteEnable ( bool enable)
inline

在文件 DepthStencilState.h42 行定义.

◆ front() [1/2]

const StencilOpState & FCT::DepthStencilState::front ( ) const
inline

在文件 DepthStencilState.h53 行定义.

◆ front() [2/2]

void FCT::DepthStencilState::front ( const StencilOpState & state)
inline

在文件 DepthStencilState.h54 行定义.

◆ getType()

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

实现了 FCT::IPipelineResource.

在文件 DepthStencilState.h65 行定义.

◆ maxDepthBounds() [1/2]

float FCT::DepthStencilState::maxDepthBounds ( ) const
inline

在文件 DepthStencilState.h62 行定义.

◆ maxDepthBounds() [2/2]

void FCT::DepthStencilState::maxDepthBounds ( float value)
inline

在文件 DepthStencilState.h63 行定义.

◆ minDepthBounds() [1/2]

float FCT::DepthStencilState::minDepthBounds ( ) const
inline

在文件 DepthStencilState.h59 行定义.

◆ minDepthBounds() [2/2]

void FCT::DepthStencilState::minDepthBounds ( float value)
inline

在文件 DepthStencilState.h60 行定义.

◆ operator bool()

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

在文件 RefCount.h22 行定义.

◆ release()

void FCT::RefCount::release ( )
inlineinherited

在文件 RefCount.h13 行定义.

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

◆ stencilTestEnable() [1/2]

bool FCT::DepthStencilState::stencilTestEnable ( ) const
inline

在文件 DepthStencilState.h50 行定义.

◆ stencilTestEnable() [2/2]

void FCT::DepthStencilState::stencilTestEnable ( bool enable)
inline

在文件 DepthStencilState.h51 行定义.

类成员变量说明

◆ m_back

StencilOpState FCT::DepthStencilState::m_back
protected

在文件 DepthStencilState.h74 行定义.

◆ m_depthBoundsTestEnable

bool FCT::DepthStencilState::m_depthBoundsTestEnable = false
protected

在文件 DepthStencilState.h71 行定义.

◆ m_depthCompareOp

CompareOp FCT::DepthStencilState::m_depthCompareOp = CompareOp::LessOrEqual
protected

在文件 DepthStencilState.h70 行定义.

◆ m_depthTestEnable

bool FCT::DepthStencilState::m_depthTestEnable = true
protected

在文件 DepthStencilState.h68 行定义.

◆ m_depthWriteEnable

bool FCT::DepthStencilState::m_depthWriteEnable = true
protected

在文件 DepthStencilState.h69 行定义.

◆ m_front

StencilOpState FCT::DepthStencilState::m_front
protected

在文件 DepthStencilState.h73 行定义.

◆ m_maxDepthBounds

float FCT::DepthStencilState::m_maxDepthBounds = 1.0f
protected

在文件 DepthStencilState.h76 行定义.

◆ m_minDepthBounds

float FCT::DepthStencilState::m_minDepthBounds = 0.0f
protected

在文件 DepthStencilState.h75 行定义.

◆ m_refCount

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

在文件 RefCount.h30 行定义.

◆ m_stencilTestEnable

bool FCT::DepthStencilState::m_stencilTestEnable = false
protected

在文件 DepthStencilState.h72 行定义.


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