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

TVE secondary material layer evaluated after primary texture sampling. Three borrowed bindings contain secondary albedo, normal and mask data. UV mode 0 uses the primary mesh UV, 1 uses the authored TVE detail UV and 2 projects world XZ. All scalar masks are remapped with the TVE 0.0001 epsilon; reversed endpoints are valid. 更多...

#include <PbrSurface.h>

Public 属性

std::array< PbrTextureBinding, 3 > textures {}
 
std::array< float, 4 > color {1, 1, 1, 1}
 
std::array< float, 4 > colorTwo {1, 1, 1, 1}
 
std::array< float, 2 > uvScale {1, 1}
 
std::array< float, 2 > uvOffset {0, 0}
 
float value = 0
 
float normalValue = 1
 
float normalBlendValue = 1
 
float albedoValue = 1
 
float metallicValue = 0
 
float occlusionValue = 1
 
float smoothnessValue = 1
 
float blendMinimum = 0
 
float blendMaximum = 1
 
float maskMinimum = 0
 
float maskMaximum = 1
 
float meshMinimum = 0
 
float meshMaximum = 1
 
uint32_t uvMode = 0
 
uint32_t colorMode = 0
 
uint32_t blendMode = 0
 
uint32_t alphaMode = 1
 
uint32_t maskMode = 0
 
uint32_t meshMode = 0
 
bool inverseUvScale = false
 

详细描述

TVE secondary material layer evaluated after primary texture sampling. Three borrowed bindings contain secondary albedo, normal and mask data. UV mode 0 uses the primary mesh UV, 1 uses the authored TVE detail UV and 2 projects world XZ. All scalar masks are remapped with the TVE 0.0001 epsilon; reversed endpoints are valid.

在文件 PbrSurface.h 第 103 行定义.

类成员变量说明

◆ albedoValue

float eve::graphics::PbrVegetationDetail::albedoValue = 1

在文件 PbrSurface.h 第 107 行定义.

◆ alphaMode

uint32_t eve::graphics::PbrVegetationDetail::alphaMode = 1

在文件 PbrSurface.h 第 111 行定义.

◆ blendMaximum

float eve::graphics::PbrVegetationDetail::blendMaximum = 1

在文件 PbrSurface.h 第 109 行定义.

◆ blendMinimum

float eve::graphics::PbrVegetationDetail::blendMinimum = 0

在文件 PbrSurface.h 第 109 行定义.

◆ blendMode

uint32_t eve::graphics::PbrVegetationDetail::blendMode = 0

在文件 PbrSurface.h 第 111 行定义.

◆ color

std::array<float, 4> eve::graphics::PbrVegetationDetail::color {1, 1, 1, 1}

在文件 PbrSurface.h 第 105 行定义.

◆ colorMode

uint32_t eve::graphics::PbrVegetationDetail::colorMode = 0

在文件 PbrSurface.h 第 111 行定义.

◆ colorTwo

std::array<float, 4> eve::graphics::PbrVegetationDetail::colorTwo {1, 1, 1, 1}

在文件 PbrSurface.h 第 105 行定义.

◆ inverseUvScale

bool eve::graphics::PbrVegetationDetail::inverseUvScale = false

在文件 PbrSurface.h 第 113 行定义.

◆ maskMaximum

float eve::graphics::PbrVegetationDetail::maskMaximum = 1

在文件 PbrSurface.h 第 109 行定义.

◆ maskMinimum

float eve::graphics::PbrVegetationDetail::maskMinimum = 0

在文件 PbrSurface.h 第 109 行定义.

◆ maskMode

uint32_t eve::graphics::PbrVegetationDetail::maskMode = 0

在文件 PbrSurface.h 第 112 行定义.

◆ meshMaximum

float eve::graphics::PbrVegetationDetail::meshMaximum = 1

在文件 PbrSurface.h 第 110 行定义.

◆ meshMinimum

float eve::graphics::PbrVegetationDetail::meshMinimum = 0

在文件 PbrSurface.h 第 110 行定义.

◆ meshMode

uint32_t eve::graphics::PbrVegetationDetail::meshMode = 0

在文件 PbrSurface.h 第 112 行定义.

◆ metallicValue

float eve::graphics::PbrVegetationDetail::metallicValue = 0

在文件 PbrSurface.h 第 107 行定义.

◆ normalBlendValue

float eve::graphics::PbrVegetationDetail::normalBlendValue = 1

在文件 PbrSurface.h 第 107 行定义.

◆ normalValue

float eve::graphics::PbrVegetationDetail::normalValue = 1

在文件 PbrSurface.h 第 107 行定义.

◆ occlusionValue

float eve::graphics::PbrVegetationDetail::occlusionValue = 1

在文件 PbrSurface.h 第 108 行定义.

◆ smoothnessValue

float eve::graphics::PbrVegetationDetail::smoothnessValue = 1

在文件 PbrSurface.h 第 108 行定义.

◆ textures

std::array<PbrTextureBinding, 3> eve::graphics::PbrVegetationDetail::textures {}

◆ uvMode

uint32_t eve::graphics::PbrVegetationDetail::uvMode = 0

在文件 PbrSurface.h 第 111 行定义.

◆ uvOffset

std::array<float, 2> eve::graphics::PbrVegetationDetail::uvOffset {0, 0}

在文件 PbrSurface.h 第 106 行定义.

◆ uvScale

std::array<float, 2> eve::graphics::PbrVegetationDetail::uvScale {1, 1}

在文件 PbrSurface.h 第 106 行定义.

◆ value

float eve::graphics::PbrVegetationDetail::value = 0

在文件 PbrSurface.h 第 107 行定义.

被这些函数引用 eve::graphics::webgpu::planPbrVariant().


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