载入中...
搜索中...
未找到
GraphicsPipelineSupport.h
浏览该文件的文档.
1#pragma once
3
6wgpu::Sampler createLinearSampler(wgpu::Device& dev);
8WGPUShaderModuleDescriptor mdDesc(const std::string& code);
10void fillVertexLayout(WGPUVertexBufferLayout& layout, uint64_t stride, const WGPUVertexAttribute* attrs,
11 uint32_t attrCount);
13WGPUBlendState alphaBlend();
15WGPUBlendState noBlend();
17WGPUBlendState additiveBlend();
19WGPUBlendState premultipliedBlend();
21WGPUBlendState multiplyBlend();
23size_t meshPipelineIndex(BlendMode blend, bool depthWrite, bool doubleSided);
25WGPUBlendState blendState(BlendMode mode);
27void fillMeshAttributes(WGPUVertexAttribute (&attrs)[6]);
28} // namespace eve::graphics::webgpu::detail
std::string layout
DiagnosticCode code
float blend
bool doubleSided
WGPUBlendState premultipliedBlend()
Internal WebGPU pipeline/descriptor helper; render-thread only.
WGPUBlendState noBlend()
Internal WebGPU pipeline/descriptor helper; render-thread only.
wgpu::Sampler createLinearSampler(wgpu::Device &dev)
Internal WebGPU pipeline/descriptor helper; render-thread only.
void fillMeshAttributes(WGPUVertexAttribute(&attrs)[6])
Internal WebGPU pipeline/descriptor helper; render-thread only.
WGPUBlendState alphaBlend()
Internal WebGPU pipeline/descriptor helper; render-thread only.
WGPUBlendState blendState(BlendMode mode)
Internal WebGPU pipeline/descriptor helper; render-thread only.
void fillVertexLayout(WGPUVertexBufferLayout &layout, uint64_t stride, const WGPUVertexAttribute *attrs, uint32_t attrCount)
Internal WebGPU pipeline/descriptor helper; render-thread only.
WGPUShaderModuleDescriptor mdDesc(const std::string &code)
Internal WebGPU pipeline/descriptor helper; render-thread only.
WGPUBlendState additiveBlend()
Internal WebGPU pipeline/descriptor helper; render-thread only.
WGPUBlendState multiplyBlend()
Internal WebGPU pipeline/descriptor helper; render-thread only.
size_t meshPipelineIndex(BlendMode blend, bool depthWrite, bool doubleSided)
Internal WebGPU pipeline/descriptor helper; render-thread only.
eve::BlendMode BlendMode
Compatibility alias for the shared 2D blend mode.
Definition BlendMode.h:8