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 |
| bool | isArray = false |
| bool | isVolume = false |
| bool | isHDR = 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 第 131 行定义.
类成员变量说明
◆ height
| int eve::graphics::webgpu::GpuTexture::height = 0 |
在文件 Graphics.h 第 145 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas().
◆ isArray
| bool eve::graphics::webgpu::GpuTexture::isArray = false |
在文件 Graphics.h 第 141 行定义.
◆ isCube
| bool eve::graphics::webgpu::GpuTexture::isCube = false |
在文件 Graphics.h 第 140 行定义.
◆ isHDR
| bool eve::graphics::webgpu::GpuTexture::isHDR = false |
在文件 Graphics.h 第 143 行定义.
◆ isVolume
| bool eve::graphics::webgpu::GpuTexture::isVolume = false |
在文件 Graphics.h 第 142 行定义.
◆ meshGroup
| wgpu::BindGroup eve::graphics::webgpu::GpuTexture::meshGroup |
在文件 Graphics.h 第 139 行定义.
◆ mipLevels
| uint32_t eve::graphics::webgpu::GpuTexture::mipLevels = 1 |
在文件 Graphics.h 第 146 行定义.
◆ sampler
| wgpu::Sampler eve::graphics::webgpu::GpuTexture::sampler |
在文件 Graphics.h 第 134 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas() , 以及 eve::graphics::webgpu::Graphics::present().
◆ samplerState
| TextureSampler eve::graphics::webgpu::GpuTexture::samplerState {} |
在文件 Graphics.h 第 147 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas().
◆ tex2DGroup
| wgpu::BindGroup eve::graphics::webgpu::GpuTexture::tex2DGroup |
在文件 Graphics.h 第 136 行定义.
◆ texture
| wgpu::Texture eve::graphics::webgpu::GpuTexture::texture |
在文件 Graphics.h 第 132 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas() , 以及 eve::graphics::webgpu::Graphics::present().
◆ view
| wgpu::TextureView eve::graphics::webgpu::GpuTexture::view |
在文件 Graphics.h 第 133 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas() , 以及 eve::graphics::webgpu::Graphics::present().
◆ width
| int eve::graphics::webgpu::GpuTexture::width = 0 |
在文件 Graphics.h 第 144 行定义.
被这些函数引用 eve::graphics::webgpu::OffscreenCanvas::OffscreenCanvas().
该结构体的文档由以下文件生成:
- src/modules/graphics/webgpu/Graphics.h