函数 | |
| wgpu::Sampler | createLinearSampler (wgpu::Device &dev) |
| Internal WebGPU pipeline/descriptor helper; render-thread only. | |
| WGPUShaderModuleDescriptor | mdDesc (const std::string &code) |
| 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. | |
| WGPUBlendState | alphaBlend () |
| Internal WebGPU pipeline/descriptor helper; render-thread only. | |
| WGPUBlendState | noBlend () |
| Internal WebGPU pipeline/descriptor helper; render-thread only. | |
| WGPUBlendState | additiveBlend () |
| Internal WebGPU pipeline/descriptor helper; render-thread only. | |
| WGPUBlendState | premultipliedBlend () |
| 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. | |
| WGPUBlendState | blendState (BlendMode mode) |
| Internal WebGPU pipeline/descriptor helper; render-thread only. | |
| void | fillMeshAttributes (WGPUVertexAttribute(&attrs)[6]) |
| Internal WebGPU pipeline/descriptor helper; render-thread only. | |
函数说明
◆ additiveBlend()
| WGPUBlendState eve::graphics::webgpu::detail::additiveBlend | ( | ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 57 行定义.
引用了 b.
被这些函数引用 blendState().
◆ alphaBlend()
| WGPUBlendState eve::graphics::webgpu::detail::alphaBlend | ( | ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 35 行定义.
引用了 b.
被这些函数引用 blendState(), eve::graphics::webgpu::Graphics::configureMeshShaderSurface(), multiplyBlend() , 以及 premultipliedBlend().
◆ blendState()
| WGPUBlendState eve::graphics::webgpu::detail::blendState | ( | BlendMode | mode | ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 84 行定义.
引用了 eve::Additive, additiveBlend(), eve::Alpha, alphaBlend(), eve::Multiply, multiplyBlend(), noBlend(), eve::Opaque, eve::Premultiplied , 以及 premultipliedBlend().
◆ createLinearSampler()
| wgpu::Sampler eve::graphics::webgpu::detail::createLinearSampler | ( | wgpu::Device & | dev | ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 4 行定义.
引用了 d , 以及 eve::graphics::webgpu::sv().
◆ fillMeshAttributes()
| void eve::graphics::webgpu::detail::fillMeshAttributes | ( | WGPUVertexAttribute(&) | attrs[6] | ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 94 行定义.
◆ fillVertexLayout()
| void eve::graphics::webgpu::detail::fillVertexLayout | ( | WGPUVertexBufferLayout & | layout, |
| uint64_t | stride, | ||
| const WGPUVertexAttribute * | attrs, | ||
| uint32_t | attrCount | ||
| ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 27 行定义.
引用了 layout.
◆ mdDesc()
| WGPUShaderModuleDescriptor eve::graphics::webgpu::detail::mdDesc | ( | const std::string & | code | ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 18 行定义.
引用了 code , 以及 eve::graphics::webgpu::sv().
◆ meshPipelineIndex()
| size_t eve::graphics::webgpu::detail::meshPipelineIndex | ( | BlendMode | blend, |
| bool | depthWrite, | ||
| bool | doubleSided | ||
| ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 80 行定义.
引用了 blend, doubleSided , 以及 u.
◆ multiplyBlend()
| WGPUBlendState eve::graphics::webgpu::detail::multiplyBlend | ( | ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 74 行定义.
引用了 alphaBlend() , 以及 b.
被这些函数引用 blendState().
◆ noBlend()
| WGPUBlendState eve::graphics::webgpu::detail::noBlend | ( | ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 46 行定义.
引用了 b.
被这些函数引用 blendState().
◆ premultipliedBlend()
| WGPUBlendState eve::graphics::webgpu::detail::premultipliedBlend | ( | ) |
Internal WebGPU pipeline/descriptor helper; render-thread only.
在文件 GraphicsPipelineSupport.cpp 第 68 行定义.
引用了 alphaBlend() , 以及 b.
被这些函数引用 blendState().