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

#include <RasterizationState.h>

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

Public 成员函数

virtual ~RasterizationState ()=default
virtual void create ()=0
PolygonMode polygonMode () const
void polygonMode (PolygonMode mode)
CullMode cullMode () const
void cullMode (CullMode mode)
FrontFace frontFace () const
void frontFace (FrontFace face)
float lineWidth () const
void lineWidth (float width)
bool depthClampEnable () const
void depthClampEnable (bool enable)
bool rasterizerDiscardEnable () const
void rasterizerDiscardEnable (bool enable)
bool depthBiasEnable () const
void depthBiasEnable (bool enable)
float depthBiasConstantFactor () const
void depthBiasConstantFactor (float factor)
float depthBiasClamp () const
void depthBiasClamp (float clamp)
float depthBiasSlopeFactor () const
void depthBiasSlopeFactor (float factor)
bool multisampleEnable () const
void multisampleEnable (bool enable)
uint32_t sampleCount () const
void sampleCount (uint32_t count)
float minSampleShading () const
void minSampleShading (float value)
uint32_t sampleMask () const
void sampleMask (uint32_t mask)
bool alphaToCoverageEnable () const
void alphaToCoverageEnable (bool enable)
bool alphaToOneEnable () const
void alphaToOneEnable (bool enable)
PipelineResourceType getType () const override
void addRef ()
void release ()
size_t count ()
 operator bool () const

Protected 成员函数

virtual void deleteThis ()

Protected 属性

PolygonMode m_polygonMode = PolygonMode::Fill
CullMode m_cullMode = CullMode::None
FrontFace m_frontFace = FrontFace::CounterClockwise
float m_lineWidth = 1.0f
bool m_depthClampEnable = false
bool m_rasterizerDiscardEnable = false
bool m_depthBiasEnable = false
float m_depthBiasConstantFactor = 0.0f
float m_depthBiasClamp = 0.0f
float m_depthBiasSlopeFactor = 0.0f
bool m_multisampleEnable = false
uint32_t m_sampleCount = 1
float m_minSampleShading = 1.0f
uint32_t m_sampleMask = 0xFFFFFFFF
bool m_alphaToCoverageEnable = false
bool m_alphaToOneEnable = false
std::atomic< size_t > m_refCount

详细描述

在文件 RasterizationState.h28 行定义.

构造及析构函数说明

◆ ~RasterizationState()

virtual FCT::RasterizationState::~RasterizationState ( )
virtualdefault

成员函数说明

◆ addRef()

void FCT::RefCount::addRef ( )
inlineinherited

在文件 RefCount.h10 行定义.

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

◆ alphaToCoverageEnable() [1/2]

bool FCT::RasterizationState::alphaToCoverageEnable ( ) const
inline

在文件 RasterizationState.h76 行定义.

◆ alphaToCoverageEnable() [2/2]

void FCT::RasterizationState::alphaToCoverageEnable ( bool enable)
inline

在文件 RasterizationState.h77 行定义.

◆ alphaToOneEnable() [1/2]

bool FCT::RasterizationState::alphaToOneEnable ( ) const
inline

在文件 RasterizationState.h79 行定义.

◆ alphaToOneEnable() [2/2]

void FCT::RasterizationState::alphaToOneEnable ( bool enable)
inline

在文件 RasterizationState.h80 行定义.

◆ count()

size_t FCT::RefCount::count ( )
inlineinherited

在文件 RefCount.h19 行定义.

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

◆ create()

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

FCT::VK_RasterizationState 内被实现.

◆ cullMode() [1/2]

CullMode FCT::RasterizationState::cullMode ( ) const
inline

在文件 RasterizationState.h37 行定义.

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

◆ cullMode() [2/2]

void FCT::RasterizationState::cullMode ( CullMode mode)
inline

在文件 RasterizationState.h38 行定义.

◆ deleteThis()

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

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

在文件 RefCount.h27 行定义.

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

◆ depthBiasClamp() [1/2]

float FCT::RasterizationState::depthBiasClamp ( ) const
inline

在文件 RasterizationState.h58 行定义.

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

◆ depthBiasClamp() [2/2]

void FCT::RasterizationState::depthBiasClamp ( float clamp)
inline

在文件 RasterizationState.h59 行定义.

◆ depthBiasConstantFactor() [1/2]

float FCT::RasterizationState::depthBiasConstantFactor ( ) const
inline

在文件 RasterizationState.h55 行定义.

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

◆ depthBiasConstantFactor() [2/2]

void FCT::RasterizationState::depthBiasConstantFactor ( float factor)
inline

在文件 RasterizationState.h56 行定义.

◆ depthBiasEnable() [1/2]

bool FCT::RasterizationState::depthBiasEnable ( ) const
inline

在文件 RasterizationState.h52 行定义.

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

◆ depthBiasEnable() [2/2]

void FCT::RasterizationState::depthBiasEnable ( bool enable)
inline

在文件 RasterizationState.h53 行定义.

◆ depthBiasSlopeFactor() [1/2]

float FCT::RasterizationState::depthBiasSlopeFactor ( ) const
inline

在文件 RasterizationState.h61 行定义.

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

◆ depthBiasSlopeFactor() [2/2]

void FCT::RasterizationState::depthBiasSlopeFactor ( float factor)
inline

在文件 RasterizationState.h62 行定义.

◆ depthClampEnable() [1/2]

bool FCT::RasterizationState::depthClampEnable ( ) const
inline

在文件 RasterizationState.h46 行定义.

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

◆ depthClampEnable() [2/2]

void FCT::RasterizationState::depthClampEnable ( bool enable)
inline

在文件 RasterizationState.h47 行定义.

◆ frontFace() [1/2]

FrontFace FCT::RasterizationState::frontFace ( ) const
inline

在文件 RasterizationState.h40 行定义.

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

◆ frontFace() [2/2]

void FCT::RasterizationState::frontFace ( FrontFace face)
inline

在文件 RasterizationState.h41 行定义.

◆ getType()

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

实现了 FCT::IPipelineResource.

在文件 RasterizationState.h82 行定义.

◆ lineWidth() [1/2]

float FCT::RasterizationState::lineWidth ( ) const
inline

在文件 RasterizationState.h43 行定义.

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

◆ lineWidth() [2/2]

void FCT::RasterizationState::lineWidth ( float width)
inline

在文件 RasterizationState.h44 行定义.

◆ minSampleShading() [1/2]

float FCT::RasterizationState::minSampleShading ( ) const
inline

在文件 RasterizationState.h70 行定义.

◆ minSampleShading() [2/2]

void FCT::RasterizationState::minSampleShading ( float value)
inline

在文件 RasterizationState.h71 行定义.

◆ multisampleEnable() [1/2]

bool FCT::RasterizationState::multisampleEnable ( ) const
inline

在文件 RasterizationState.h64 行定义.

◆ multisampleEnable() [2/2]

void FCT::RasterizationState::multisampleEnable ( bool enable)
inline

在文件 RasterizationState.h65 行定义.

◆ operator bool()

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

在文件 RefCount.h22 行定义.

◆ polygonMode() [1/2]

PolygonMode FCT::RasterizationState::polygonMode ( ) const
inline

在文件 RasterizationState.h34 行定义.

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

◆ polygonMode() [2/2]

void FCT::RasterizationState::polygonMode ( PolygonMode mode)
inline

在文件 RasterizationState.h35 行定义.

◆ rasterizerDiscardEnable() [1/2]

bool FCT::RasterizationState::rasterizerDiscardEnable ( ) const
inline

在文件 RasterizationState.h49 行定义.

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

◆ rasterizerDiscardEnable() [2/2]

void FCT::RasterizationState::rasterizerDiscardEnable ( bool enable)
inline

在文件 RasterizationState.h50 行定义.

◆ release()

void FCT::RefCount::release ( )
inlineinherited

在文件 RefCount.h13 行定义.

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

◆ sampleCount() [1/2]

uint32_t FCT::RasterizationState::sampleCount ( ) const
inline

在文件 RasterizationState.h67 行定义.

◆ sampleCount() [2/2]

void FCT::RasterizationState::sampleCount ( uint32_t count)
inline

在文件 RasterizationState.h68 行定义.

函数调用图:

◆ sampleMask() [1/2]

uint32_t FCT::RasterizationState::sampleMask ( ) const
inline

在文件 RasterizationState.h73 行定义.

◆ sampleMask() [2/2]

void FCT::RasterizationState::sampleMask ( uint32_t mask)
inline

在文件 RasterizationState.h74 行定义.

类成员变量说明

◆ m_alphaToCoverageEnable

bool FCT::RasterizationState::m_alphaToCoverageEnable = false
protected

在文件 RasterizationState.h99 行定义.

◆ m_alphaToOneEnable

bool FCT::RasterizationState::m_alphaToOneEnable = false
protected

在文件 RasterizationState.h100 行定义.

◆ m_cullMode

CullMode FCT::RasterizationState::m_cullMode = CullMode::None
protected

在文件 RasterizationState.h86 行定义.

◆ m_depthBiasClamp

float FCT::RasterizationState::m_depthBiasClamp = 0.0f
protected

在文件 RasterizationState.h93 行定义.

◆ m_depthBiasConstantFactor

float FCT::RasterizationState::m_depthBiasConstantFactor = 0.0f
protected

在文件 RasterizationState.h92 行定义.

◆ m_depthBiasEnable

bool FCT::RasterizationState::m_depthBiasEnable = false
protected

在文件 RasterizationState.h91 行定义.

◆ m_depthBiasSlopeFactor

float FCT::RasterizationState::m_depthBiasSlopeFactor = 0.0f
protected

在文件 RasterizationState.h94 行定义.

◆ m_depthClampEnable

bool FCT::RasterizationState::m_depthClampEnable = false
protected

在文件 RasterizationState.h89 行定义.

◆ m_frontFace

FrontFace FCT::RasterizationState::m_frontFace = FrontFace::CounterClockwise
protected

在文件 RasterizationState.h87 行定义.

◆ m_lineWidth

float FCT::RasterizationState::m_lineWidth = 1.0f
protected

在文件 RasterizationState.h88 行定义.

◆ m_minSampleShading

float FCT::RasterizationState::m_minSampleShading = 1.0f
protected

在文件 RasterizationState.h97 行定义.

◆ m_multisampleEnable

bool FCT::RasterizationState::m_multisampleEnable = false
protected

在文件 RasterizationState.h95 行定义.

◆ m_polygonMode

PolygonMode FCT::RasterizationState::m_polygonMode = PolygonMode::Fill
protected

在文件 RasterizationState.h85 行定义.

◆ m_rasterizerDiscardEnable

bool FCT::RasterizationState::m_rasterizerDiscardEnable = false
protected

在文件 RasterizationState.h90 行定义.

◆ m_refCount

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

在文件 RefCount.h30 行定义.

◆ m_sampleCount

uint32_t FCT::RasterizationState::m_sampleCount = 1
protected

在文件 RasterizationState.h96 行定义.

◆ m_sampleMask

uint32_t FCT::RasterizationState::m_sampleMask = 0xFFFFFFFF
protected

在文件 RasterizationState.h98 行定义.


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