载入中...
搜索中...
未找到
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.h 第 30 行定义.
类成员变量说明
◆ ambient
在文件 Graphics.h 第 37 行定义.
◆ cameraPos
在文件 Graphics.h 第 36 行定义.
◆ clipInfo
在文件 Graphics.h 第 42 行定义.
◆ cloud
◆ cloudWind
在文件 Graphics.h 第 44 行定义.
◆ lightColor
在文件 Graphics.h 第 34 行定义.
◆ lightDir
在文件 Graphics.h 第 33 行定义.
◆ lights
| Light3DGpu eve::graphics::webgpu::Mesh3DUBO::lights[Lighting3DPack::kMaxLights] {} |
在文件 Graphics.h 第 38 行定义.
◆ model
| glm::mat4 eve::graphics::webgpu::Mesh3DUBO::model {1.f} |
在文件 Graphics.h 第 32 行定义.
◆ mvp
| glm::mat4 eve::graphics::webgpu::Mesh3DUBO::mvp {1.f} |
在文件 Graphics.h 第 31 行定义.
◆ parallax
◆ texBomb
◆ tint
◆ view
| glm::mat4 eve::graphics::webgpu::Mesh3DUBO::view {1.f} |
在文件 Graphics.h 第 41 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/webgpu/Graphics.h