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

Borrowed TVE Extras RGBA16F array and owning sampling controls. Channels are emissive, wetness, overlay and alpha. UV equals coords.zw plus coords.xy times world XZ, or the model pivot XZ when usePivotPosition is true. Usage selects the sampled layer when at least 0.5 and the stored value otherwise. 更多...

#include <PbrSurface.h>

Public 成员函数

bool operator== (const PbrVegetationExtras &) const =default
 Compare owned parameters and borrowed texture identities without dereferencing resources.
 

Public 属性

Texture * texture = nullptr
 
std::array< float, 9 > usage {}
 
std::array< float, 4 > fallback {1, 0, 0, 1}
 
std::array< float, 4 > coords {1, 1, 0, 0}
 
uint32_t layer = 0
 
bool usePivotPosition = false
 

详细描述

Borrowed TVE Extras RGBA16F array and owning sampling controls. Channels are emissive, wetness, overlay and alpha. UV equals coords.zw plus coords.xy times world XZ, or the model pivot XZ when usePivotPosition is true. Usage selects the sampled layer when at least 0.5 and the stored value otherwise.

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

成员函数说明

◆ operator==()

bool eve::graphics::PbrVegetationExtras::operator== ( const PbrVegetationExtras &  ) const
default

Compare owned parameters and borrowed texture identities without dereferencing resources.

类成员变量说明

◆ coords

std::array<float, 4> eve::graphics::PbrVegetationExtras::coords {1, 1, 0, 0}

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

◆ fallback

std::array<float, 4> eve::graphics::PbrVegetationExtras::fallback {1, 0, 0, 1}

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

◆ layer

uint32_t eve::graphics::PbrVegetationExtras::layer = 0

◆ texture

◆ usage

std::array<float, 9> eve::graphics::PbrVegetationExtras::usage {}

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

◆ usePivotPosition

bool eve::graphics::PbrVegetationExtras::usePivotPosition = false

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


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