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::vec4 | surface {0.f, 0.5f, 0.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} |
| glm::vec4 | virtualTexture {0.f} |
| glm::vec4 | virtualAtlas {0.f} |
| glm::vec4 | envProbeCenter {0.f} |
| glm::vec4 | envProbeExtent {0.f} |
| glm::vec4 | skinInfo {0.f} |
| glm::vec4 | reflectionProbeCenter [ReflectionProbeUpload::kMaxProbes] {} |
| glm::vec4 | reflectionProbeExtent [ReflectionProbeUpload::kMaxProbes] {} |
| glm::vec4 | diffuseProbeSh [9] {} |
| glm::vec4 | diffuseProbeInfo {0.f} |
| glm::vec4 | diffuseVolumePosition [Lighting3DPack::kMaxDiffuseVolumeProbes] {} |
| glm::vec4 | diffuseVolumeExtent [Lighting3DPack::kMaxDiffuseVolumeProbes] {} |
| glm::vec4 | diffuseVolumeSh [Lighting3DPack::kMaxDiffuseVolumeProbes *9] {} |
| glm::vec4 | diffuseVolumeInfo {0.f} |
| glm::vec4 | lodFade {1.f, 0.f, 0.f, 0.f} |
详细描述
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 第 48 行定义.
类成员变量说明
◆ ambient
在文件 Graphics.h 第 55 行定义.
◆ cameraPos
在文件 Graphics.h 第 54 行定义.
◆ clipInfo
在文件 Graphics.h 第 61 行定义.
◆ cloud
◆ cloudWind
在文件 Graphics.h 第 63 行定义.
◆ diffuseProbeInfo
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::diffuseProbeInfo {0.f} |
在文件 Graphics.h 第 72 行定义.
◆ diffuseProbeSh
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::diffuseProbeSh[9] {} |
在文件 Graphics.h 第 71 行定义.
◆ diffuseVolumeExtent
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::diffuseVolumeExtent[Lighting3DPack::kMaxDiffuseVolumeProbes] {} |
在文件 Graphics.h 第 74 行定义.
◆ diffuseVolumeInfo
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::diffuseVolumeInfo {0.f} |
在文件 Graphics.h 第 76 行定义.
◆ diffuseVolumePosition
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::diffuseVolumePosition[Lighting3DPack::kMaxDiffuseVolumeProbes] {} |
在文件 Graphics.h 第 73 行定义.
◆ diffuseVolumeSh
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::diffuseVolumeSh[Lighting3DPack::kMaxDiffuseVolumeProbes *9] {} |
在文件 Graphics.h 第 75 行定义.
◆ envProbeCenter
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::envProbeCenter {0.f} |
在文件 Graphics.h 第 66 行定义.
◆ envProbeExtent
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::envProbeExtent {0.f} |
在文件 Graphics.h 第 67 行定义.
◆ lightColor
在文件 Graphics.h 第 52 行定义.
◆ lightDir
在文件 Graphics.h 第 51 行定义.
◆ lights
| Light3DGpu eve::graphics::webgpu::Mesh3DUBO::lights[Lighting3DPack::kMaxLights] {} |
在文件 Graphics.h 第 56 行定义.
◆ lodFade
◆ model
| glm::mat4 eve::graphics::webgpu::Mesh3DUBO::model {1.f} |
在文件 Graphics.h 第 50 行定义.
◆ mvp
| glm::mat4 eve::graphics::webgpu::Mesh3DUBO::mvp {1.f} |
在文件 Graphics.h 第 49 行定义.
◆ parallax
◆ reflectionProbeCenter
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::reflectionProbeCenter[ReflectionProbeUpload::kMaxProbes] {} |
在文件 Graphics.h 第 69 行定义.
◆ reflectionProbeExtent
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::reflectionProbeExtent[ReflectionProbeUpload::kMaxProbes] {} |
在文件 Graphics.h 第 70 行定义.
◆ skinInfo
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::skinInfo {0.f} |
在文件 Graphics.h 第 68 行定义.
◆ surface
◆ texBomb
◆ tint
◆ view
| glm::mat4 eve::graphics::webgpu::Mesh3DUBO::view {1.f} |
在文件 Graphics.h 第 60 行定义.
◆ virtualAtlas
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::virtualAtlas {0.f} |
在文件 Graphics.h 第 65 行定义.
◆ virtualTexture
| glm::vec4 eve::graphics::webgpu::Mesh3DUBO::virtualTexture {0.f} |
在文件 Graphics.h 第 64 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/webgpu/Graphics.h