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

Clustered-forward mesh UBO (matches the Vulkan Mesh3DClusteredUBO and the WGSL clustered Frame block). 更多...

#include <Graphics.h>

Public 属性

glm::mat4 mvp {1.f}
 
glm::mat4 model {1.f}
 
glm::mat4 view {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}
 
glm::vec4 gridInfo {16.f, 9.f, 24.f, 0.f}
 
glm::vec4 clipInfo {0.1f, 100.f, 1.f, 1.f}
 
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::vec4 virtualTexture {0.f}
 
glm::vec4 virtualAtlas {0.f}
 
glm::vec4 envProbeCenter {0.f}
 
glm::vec4 envProbeExtent {0.f}
 
glm::vec4 reflectionProbeCenter [ReflectionProbeUpload::kMaxProbes] {}
 
glm::vec4 reflectionProbeExtent [ReflectionProbeUpload::kMaxProbes] {}
 

详细描述

Clustered-forward mesh UBO (matches the Vulkan Mesh3DClusteredUBO and the WGSL clustered Frame block).

在文件 Graphics.h 第 105 行定义.

类成员变量说明

◆ ambient

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

在文件 Graphics.h 第 113 行定义.

◆ cameraPos

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

在文件 Graphics.h 第 112 行定义.

◆ clipInfo

glm::vec4 eve::graphics::webgpu::Mesh3DClusteredUBO::clipInfo {0.1f, 100.f, 1.f, 1.f}

在文件 Graphics.h 第 115 行定义.

◆ envProbeCenter

glm::vec4 eve::graphics::webgpu::Mesh3DClusteredUBO::envProbeCenter {0.f}

在文件 Graphics.h 第 121 行定义.

◆ envProbeExtent

glm::vec4 eve::graphics::webgpu::Mesh3DClusteredUBO::envProbeExtent {0.f}

在文件 Graphics.h 第 122 行定义.

◆ gridInfo

glm::vec4 eve::graphics::webgpu::Mesh3DClusteredUBO::gridInfo {16.f, 9.f, 24.f, 0.f}

在文件 Graphics.h 第 114 行定义.

◆ lightColor

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

在文件 Graphics.h 第 110 行定义.

◆ lightDir

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

在文件 Graphics.h 第 109 行定义.

◆ model

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

在文件 Graphics.h 第 107 行定义.

◆ mvp

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

在文件 Graphics.h 第 106 行定义.

◆ parallax

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

在文件 Graphics.h 第 117 行定义.

◆ reflectionProbeCenter

glm::vec4 eve::graphics::webgpu::Mesh3DClusteredUBO::reflectionProbeCenter[ReflectionProbeUpload::kMaxProbes] {}

在文件 Graphics.h 第 123 行定义.

◆ reflectionProbeExtent

glm::vec4 eve::graphics::webgpu::Mesh3DClusteredUBO::reflectionProbeExtent[ReflectionProbeUpload::kMaxProbes] {}

在文件 Graphics.h 第 124 行定义.

◆ surface

glm::vec4 eve::graphics::webgpu::Mesh3DClusteredUBO::surface {0.f, 0.5f, 0.f, 0.f}

在文件 Graphics.h 第 118 行定义.

◆ texBomb

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

在文件 Graphics.h 第 116 行定义.

◆ tint

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

在文件 Graphics.h 第 111 行定义.

◆ view

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

在文件 Graphics.h 第 108 行定义.

◆ virtualAtlas

glm::vec4 eve::graphics::webgpu::Mesh3DClusteredUBO::virtualAtlas {0.f}

在文件 Graphics.h 第 120 行定义.

◆ virtualTexture

glm::vec4 eve::graphics::webgpu::Mesh3DClusteredUBO::virtualTexture {0.f}

在文件 Graphics.h 第 119 行定义.


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