Texture resources backed by a wgpu texture + view + sampler + bind groups. 更多...
#include <Graphics.h>
Public 属性 | |
| wgpu::Texture | texture |
| wgpu::TextureView | view |
| wgpu::Sampler | sampler |
| wgpu::BindGroup | tex2DGroup |
| wgpu::BindGroup | meshGroup |
| bool | isCube = false |
| int | width = 0 |
| int | height = 0 |
| uint32_t | mipLevels = 1 |
| TextureSampler | samplerState {} |
详细描述
Texture resources backed by a wgpu texture + view + sampler + bind groups.
在文件 Graphics.h 第 51 行定义.
类成员变量说明
◆ height
| int eve::graphics::webgpu::GpuTexture::height = 0 |
在文件 Graphics.h 第 62 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas().
◆ isCube
| bool eve::graphics::webgpu::GpuTexture::isCube = false |
在文件 Graphics.h 第 60 行定义.
◆ meshGroup
| wgpu::BindGroup eve::graphics::webgpu::GpuTexture::meshGroup |
在文件 Graphics.h 第 59 行定义.
◆ mipLevels
| uint32_t eve::graphics::webgpu::GpuTexture::mipLevels = 1 |
在文件 Graphics.h 第 63 行定义.
◆ sampler
| wgpu::Sampler eve::graphics::webgpu::GpuTexture::sampler |
在文件 Graphics.h 第 54 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas() , 以及 eve::graphics::webgpu::Graphics::present().
◆ samplerState
| TextureSampler eve::graphics::webgpu::GpuTexture::samplerState {} |
在文件 Graphics.h 第 64 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas().
◆ tex2DGroup
| wgpu::BindGroup eve::graphics::webgpu::GpuTexture::tex2DGroup |
在文件 Graphics.h 第 56 行定义.
◆ texture
| wgpu::Texture eve::graphics::webgpu::GpuTexture::texture |
在文件 Graphics.h 第 52 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas() , 以及 eve::graphics::webgpu::Graphics::present().
◆ view
| wgpu::TextureView eve::graphics::webgpu::GpuTexture::view |
在文件 Graphics.h 第 53 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas() , 以及 eve::graphics::webgpu::Graphics::present().
◆ width
| int eve::graphics::webgpu::GpuTexture::width = 0 |
在文件 Graphics.h 第 61 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas().
该结构体的文档由以下文件生成:
- src/modules/graphics/webgpu/Graphics.h