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

Frame UBO for the mesh3d pipeline. Mirrors the std140 layout of the WGSL Frame block and the legacy Vulkan Mesh3DUBO (so custom shader prefixes stay compatible). See wgsl_shaders.h. 更多...

#include <Graphics.h>

Public 属性

glm::mat4 mvp {1.f}
 
glm::mat4 model {1.f}
 
glm::vec4 lightDir {0.4f, 1.f, 0.3f, 0.f}
 
glm::vec4 lightColor {1.f, 1.f, 1.f, 0.f}
 
glm::vec4 tint {1.f, 1.f, 1.f, 1.f}
 
glm::vec4 cameraPos {0.f, 0.f, 3.f, 0.45f}
 
glm::vec4 ambient {0.12f, 0.12f, 0.14f, 0.f}
 
Light3DGpu lights [Lighting3DPack::kMaxLights] {}
 
glm::vec4 texBomb {4.f, 0.f, 1.f, 0.f}
 
glm::vec4 parallax {0.f, 8.f, 32.f, 0.f}
 
glm::mat4 view {1.f}
 
glm::vec4 clipInfo {0.1f, 100.f, 0.f, 0.f}
 
glm::vec4 cloud {0.f, 1.5f, 0.f, 0.f}
 
glm::vec4 cloudWind {4.f, 0.f, 0.55f, 0.5f}
 

详细描述

Frame UBO for the mesh3d pipeline. Mirrors the std140 layout of the WGSL Frame block and the legacy Vulkan Mesh3DUBO (so custom shader prefixes stay compatible). See wgsl_shaders.h.

在文件 Graphics.h30 行定义.

类成员变量说明

◆ ambient

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::ambient {0.12f, 0.12f, 0.14f, 0.f}

在文件 Graphics.h37 行定义.

◆ cameraPos

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::cameraPos {0.f, 0.f, 3.f, 0.45f}

在文件 Graphics.h36 行定义.

◆ clipInfo

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::clipInfo {0.1f, 100.f, 0.f, 0.f}

在文件 Graphics.h42 行定义.

◆ cloud

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::cloud {0.f, 1.5f, 0.f, 0.f}

在文件 Graphics.h43 行定义.

◆ cloudWind

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::cloudWind {4.f, 0.f, 0.55f, 0.5f}

在文件 Graphics.h44 行定义.

◆ lightColor

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::lightColor {1.f, 1.f, 1.f, 0.f}

在文件 Graphics.h34 行定义.

◆ lightDir

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::lightDir {0.4f, 1.f, 0.3f, 0.f}

在文件 Graphics.h33 行定义.

◆ lights

Light3DGpu eve::graphics::webgpu::Mesh3DUBO::lights[Lighting3DPack::kMaxLights] {}

在文件 Graphics.h38 行定义.

◆ model

glm::mat4 eve::graphics::webgpu::Mesh3DUBO::model {1.f}

在文件 Graphics.h32 行定义.

◆ mvp

glm::mat4 eve::graphics::webgpu::Mesh3DUBO::mvp {1.f}

在文件 Graphics.h31 行定义.

◆ parallax

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::parallax {0.f, 8.f, 32.f, 0.f}

在文件 Graphics.h40 行定义.

◆ texBomb

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::texBomb {4.f, 0.f, 1.f, 0.f}

在文件 Graphics.h39 行定义.

◆ tint

glm::vec4 eve::graphics::webgpu::Mesh3DUBO::tint {1.f, 1.f, 1.f, 1.f}

在文件 Graphics.h35 行定义.

◆ view

glm::mat4 eve::graphics::webgpu::Mesh3DUBO::view {1.f}

在文件 Graphics.h41 行定义.


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