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

#include <VK_RasterizationState.h>

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

Public 成员函数

 VK_RasterizationState (VK_Context *ctx)
void create () override
vk::PipelineRasterizationStateCreateInfo & rasterizationStateCreateInfo ()
vk::PipelineMultisampleStateCreateInfo & multisampleStateCreateInfo ()
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

Private 成员函数

vk::PolygonMode convertPolygonMode (PolygonMode mode) const
vk::CullModeFlags convertCullMode (CullMode mode) const
vk::FrontFace convertFrontFace (FrontFace face) const

Private 属性

VK_Contextm_ctx
vk::PipelineRasterizationStateCreateInfo m_rasterizationStateCreateInfo
vk::PipelineMultisampleStateCreateInfo m_multisampleStateCreateInfo

详细描述

在文件 VK_RasterizationState.h11 行定义.

构造及析构函数说明

◆ VK_RasterizationState()

FCT::VK_RasterizationState::VK_RasterizationState ( VK_Context * ctx)

在文件 VK_RasterizationState.cpp8 行定义.

成员函数说明

◆ addRef()

void FCT::RefCount::addRef ( )
inlineinherited

在文件 RefCount.h10 行定义.

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

◆ alphaToCoverageEnable() [1/2]

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

在文件 RasterizationState.h76 行定义.

◆ alphaToCoverageEnable() [2/2]

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

在文件 RasterizationState.h77 行定义.

◆ alphaToOneEnable() [1/2]

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

在文件 RasterizationState.h79 行定义.

◆ alphaToOneEnable() [2/2]

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

在文件 RasterizationState.h80 行定义.

◆ convertCullMode()

vk::CullModeFlags FCT::VK_RasterizationState::convertCullMode ( CullMode mode) const
inlineprivate

在文件 VK_RasterizationState.h31 行定义.

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

◆ convertFrontFace()

vk::FrontFace FCT::VK_RasterizationState::convertFrontFace ( FrontFace face) const
inlineprivate

在文件 VK_RasterizationState.h42 行定义.

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

◆ convertPolygonMode()

vk::PolygonMode FCT::VK_RasterizationState::convertPolygonMode ( PolygonMode mode) const
inlineprivate

在文件 VK_RasterizationState.h21 行定义.

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

◆ count()

size_t FCT::RefCount::count ( )
inlineinherited

在文件 RefCount.h19 行定义.

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

◆ create()

void FCT::VK_RasterizationState::create ( )
overridevirtual

实现了 FCT::RasterizationState.

在文件 VK_RasterizationState.cpp13 行定义.

函数调用图:

◆ cullMode() [1/2]

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

在文件 RasterizationState.h37 行定义.

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

◆ cullMode() [2/2]

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

在文件 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
inlineinherited

在文件 RasterizationState.h58 行定义.

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

◆ depthBiasClamp() [2/2]

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

在文件 RasterizationState.h59 行定义.

◆ depthBiasConstantFactor() [1/2]

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

在文件 RasterizationState.h55 行定义.

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

◆ depthBiasConstantFactor() [2/2]

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

在文件 RasterizationState.h56 行定义.

◆ depthBiasEnable() [1/2]

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

在文件 RasterizationState.h52 行定义.

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

◆ depthBiasEnable() [2/2]

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

在文件 RasterizationState.h53 行定义.

◆ depthBiasSlopeFactor() [1/2]

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

在文件 RasterizationState.h61 行定义.

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

◆ depthBiasSlopeFactor() [2/2]

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

在文件 RasterizationState.h62 行定义.

◆ depthClampEnable() [1/2]

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

在文件 RasterizationState.h46 行定义.

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

◆ depthClampEnable() [2/2]

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

在文件 RasterizationState.h47 行定义.

◆ frontFace() [1/2]

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

在文件 RasterizationState.h40 行定义.

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

◆ frontFace() [2/2]

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

在文件 RasterizationState.h41 行定义.

◆ getType()

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

实现了 FCT::IPipelineResource.

在文件 RasterizationState.h82 行定义.

◆ lineWidth() [1/2]

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

在文件 RasterizationState.h43 行定义.

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

◆ lineWidth() [2/2]

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

在文件 RasterizationState.h44 行定义.

◆ minSampleShading() [1/2]

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

在文件 RasterizationState.h70 行定义.

◆ minSampleShading() [2/2]

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

在文件 RasterizationState.h71 行定义.

◆ multisampleEnable() [1/2]

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

在文件 RasterizationState.h64 行定义.

◆ multisampleEnable() [2/2]

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

在文件 RasterizationState.h65 行定义.

◆ multisampleStateCreateInfo()

vk::PipelineMultisampleStateCreateInfo & FCT::VK_RasterizationState::multisampleStateCreateInfo ( )
inline

在文件 VK_RasterizationState.h16 行定义.

◆ operator bool()

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

在文件 RefCount.h22 行定义.

◆ polygonMode() [1/2]

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

在文件 RasterizationState.h34 行定义.

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

◆ polygonMode() [2/2]

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

在文件 RasterizationState.h35 行定义.

◆ rasterizationStateCreateInfo()

vk::PipelineRasterizationStateCreateInfo & FCT::VK_RasterizationState::rasterizationStateCreateInfo ( )
inline

在文件 VK_RasterizationState.h15 行定义.

◆ rasterizerDiscardEnable() [1/2]

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

在文件 RasterizationState.h49 行定义.

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

◆ rasterizerDiscardEnable() [2/2]

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

在文件 RasterizationState.h50 行定义.

◆ release()

void FCT::RefCount::release ( )
inlineinherited

在文件 RefCount.h13 行定义.

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

◆ sampleCount() [1/2]

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

在文件 RasterizationState.h67 行定义.

◆ sampleCount() [2/2]

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

在文件 RasterizationState.h68 行定义.

函数调用图:

◆ sampleMask() [1/2]

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

在文件 RasterizationState.h73 行定义.

◆ sampleMask() [2/2]

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

在文件 RasterizationState.h74 行定义.

类成员变量说明

◆ m_alphaToCoverageEnable

bool FCT::RasterizationState::m_alphaToCoverageEnable = false
protectedinherited

在文件 RasterizationState.h99 行定义.

◆ m_alphaToOneEnable

bool FCT::RasterizationState::m_alphaToOneEnable = false
protectedinherited

在文件 RasterizationState.h100 行定义.

◆ m_ctx

VK_Context* FCT::VK_RasterizationState::m_ctx
private

在文件 VK_RasterizationState.h18 行定义.

◆ m_cullMode

CullMode FCT::RasterizationState::m_cullMode = CullMode::None
protectedinherited

在文件 RasterizationState.h86 行定义.

◆ m_depthBiasClamp

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

在文件 RasterizationState.h93 行定义.

◆ m_depthBiasConstantFactor

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

在文件 RasterizationState.h92 行定义.

◆ m_depthBiasEnable

bool FCT::RasterizationState::m_depthBiasEnable = false
protectedinherited

在文件 RasterizationState.h91 行定义.

◆ m_depthBiasSlopeFactor

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

在文件 RasterizationState.h94 行定义.

◆ m_depthClampEnable

bool FCT::RasterizationState::m_depthClampEnable = false
protectedinherited

在文件 RasterizationState.h89 行定义.

◆ m_frontFace

FrontFace FCT::RasterizationState::m_frontFace = FrontFace::CounterClockwise
protectedinherited

在文件 RasterizationState.h87 行定义.

◆ m_lineWidth

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

在文件 RasterizationState.h88 行定义.

◆ m_minSampleShading

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

在文件 RasterizationState.h97 行定义.

◆ m_multisampleEnable

bool FCT::RasterizationState::m_multisampleEnable = false
protectedinherited

在文件 RasterizationState.h95 行定义.

◆ m_multisampleStateCreateInfo

vk::PipelineMultisampleStateCreateInfo FCT::VK_RasterizationState::m_multisampleStateCreateInfo
private

在文件 VK_RasterizationState.h20 行定义.

◆ m_polygonMode

PolygonMode FCT::RasterizationState::m_polygonMode = PolygonMode::Fill
protectedinherited

在文件 RasterizationState.h85 行定义.

◆ m_rasterizationStateCreateInfo

vk::PipelineRasterizationStateCreateInfo FCT::VK_RasterizationState::m_rasterizationStateCreateInfo
private

在文件 VK_RasterizationState.h19 行定义.

◆ m_rasterizerDiscardEnable

bool FCT::RasterizationState::m_rasterizerDiscardEnable = false
protectedinherited

在文件 RasterizationState.h90 行定义.

◆ m_refCount

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

在文件 RefCount.h30 行定义.

◆ m_sampleCount

uint32_t FCT::RasterizationState::m_sampleCount = 1
protectedinherited

在文件 RasterizationState.h96 行定义.

◆ m_sampleMask

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

在文件 RasterizationState.h98 行定义.


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