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

A compiled shader: one WebGPU pipeline + layout. Also holds the WGSL sources so custom shaders can be re-pipelined for offscreen targets. 更多...

#include <Graphics.h>

Public 属性

wgpu::RenderPipeline swapchainPipeline
 
wgpu::RenderPipeline offscreenPipeline
 
wgpu::RenderPipeline mesh3dPipeline
 
wgpu::RenderPipeline mesh3dXrayPipeline
 
wgpu::RenderPipeline shadowPipeline
 
wgpu::RenderPipeline gbufferPipeline
 
wgpu::PipelineLayout pipelineLayout
 
wgpu::BindGroupLayout setLayout
 
bool isMesh3D = false
 
bool isHair3D = false
 
bool isShadow = false
 
bool isGbuffer = false
 
std::string wgslVert
 
std::string wgslFrag
 

详细描述

A compiled shader: one WebGPU pipeline + layout. Also holds the WGSL sources so custom shaders can be re-pipelined for offscreen targets.

在文件 Graphics.h83 行定义.

类成员变量说明

◆ gbufferPipeline

wgpu::RenderPipeline eve::graphics::webgpu::GpuShader::gbufferPipeline

在文件 Graphics.h89 行定义.

◆ isGbuffer

bool eve::graphics::webgpu::GpuShader::isGbuffer = false

在文件 Graphics.h95 行定义.

◆ isHair3D

bool eve::graphics::webgpu::GpuShader::isHair3D = false

在文件 Graphics.h93 行定义.

◆ isMesh3D

bool eve::graphics::webgpu::GpuShader::isMesh3D = false

在文件 Graphics.h92 行定义.

◆ isShadow

bool eve::graphics::webgpu::GpuShader::isShadow = false

在文件 Graphics.h94 行定义.

◆ mesh3dPipeline

wgpu::RenderPipeline eve::graphics::webgpu::GpuShader::mesh3dPipeline

在文件 Graphics.h86 行定义.

◆ mesh3dXrayPipeline

wgpu::RenderPipeline eve::graphics::webgpu::GpuShader::mesh3dXrayPipeline

在文件 Graphics.h87 行定义.

◆ offscreenPipeline

wgpu::RenderPipeline eve::graphics::webgpu::GpuShader::offscreenPipeline

在文件 Graphics.h85 行定义.

◆ pipelineLayout

wgpu::PipelineLayout eve::graphics::webgpu::GpuShader::pipelineLayout

在文件 Graphics.h90 行定义.

◆ setLayout

wgpu::BindGroupLayout eve::graphics::webgpu::GpuShader::setLayout

在文件 Graphics.h91 行定义.

◆ shadowPipeline

wgpu::RenderPipeline eve::graphics::webgpu::GpuShader::shadowPipeline

在文件 Graphics.h88 行定义.

◆ swapchainPipeline

wgpu::RenderPipeline eve::graphics::webgpu::GpuShader::swapchainPipeline

在文件 Graphics.h84 行定义.

◆ wgslFrag

std::string eve::graphics::webgpu::GpuShader::wgslFrag

在文件 Graphics.h97 行定义.

◆ wgslVert

std::string eve::graphics::webgpu::GpuShader::wgslVert

在文件 Graphics.h96 行定义.


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