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

One borrowed texture plus independently owned UV/sampler parameters. Texture is graphics-factory-owned and must outlive this binding and queued draws. 更多...

#include <PbrSurface.h>

Public 属性

Texture * texture = nullptr
 
uint32_t texcoord = 0
 
bool srgbDecode = true
 
std::array< float, 2 > offset {0, 0}
 
std::array< float, 2 > scale {1, 1}
 
float rotation = 0
 
uint32_t wrapS = 10497
 
uint32_t wrapT = 10497
 
uint32_t minFilter = 9987
 
uint32_t magFilter = 9729
 

详细描述

One borrowed texture plus independently owned UV/sampler parameters. Texture is graphics-factory-owned and must outlive this binding and queued draws.

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

类成员变量说明

◆ magFilter

uint32_t eve::graphics::PbrTextureBinding::magFilter = 9729

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

◆ minFilter

uint32_t eve::graphics::PbrTextureBinding::minFilter = 9987

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

◆ offset

std::array<float, 2> eve::graphics::PbrTextureBinding::offset {0, 0}

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

◆ rotation

float eve::graphics::PbrTextureBinding::rotation = 0

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

◆ scale

std::array<float, 2> eve::graphics::PbrTextureBinding::scale {1, 1}

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

◆ srgbDecode

bool eve::graphics::PbrTextureBinding::srgbDecode = true

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

◆ texcoord

uint32_t eve::graphics::PbrTextureBinding::texcoord = 0

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

◆ texture

Texture* eve::graphics::PbrTextureBinding::texture = nullptr

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

◆ wrapS

uint32_t eve::graphics::PbrTextureBinding::wrapS = 10497

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

◆ wrapT

uint32_t eve::graphics::PbrTextureBinding::wrapT = 10497

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


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