载入中...
搜索中...
未找到
eve::graphics::MeshShaderRasterState结构体 参考

Value snapshot of custom mesh rasterization state, independent of blending/culling. 更多...

#include <MeshShaderRasterState.h>

Public 属性

MeshDepthCompare depthCompare = MeshDepthCompare::Less
 
float depthBiasConstant = 0.f
 
float depthBiasSlope = 0.f
 
std::uint8_t colorWriteMask = 15
 

详细描述

Value snapshot of custom mesh rasterization state, independent of blending/culling.

Bias uses the backend's native depth-buffer units and slope factor. Color mask bits 0..3 select R,G,B,A. This is runtime state, not a persistent format.

在文件 MeshShaderRasterState.h 第 13 行定义.

类成员变量说明

◆ colorWriteMask

std::uint8_t eve::graphics::MeshShaderRasterState::colorWriteMask = 15

在文件 MeshShaderRasterState.h 第 17 行定义.

◆ depthBiasConstant

float eve::graphics::MeshShaderRasterState::depthBiasConstant = 0.f

在文件 MeshShaderRasterState.h 第 15 行定义.

◆ depthBiasSlope

float eve::graphics::MeshShaderRasterState::depthBiasSlope = 0.f

在文件 MeshShaderRasterState.h 第 16 行定义.

◆ depthCompare

MeshDepthCompare eve::graphics::MeshShaderRasterState::depthCompare = MeshDepthCompare::Less

在文件 MeshShaderRasterState.h 第 14 行定义.

被这些函数引用 eve::graphics::SkyAtmospherePass::prepare().


该结构体的文档由以下文件生成: