What one format supports on a device. More...
#include <gpu_capabilities.hpp>
Public Attributes | |
| GpuFormat | format = GpuFormat::undefined |
| bool | renderable = false |
| Usable as a render-pass color (or depth) attachment. | |
| bool | blendable = false |
| Blending is allowed when it is a color attachment. | |
| bool | multisample = false |
| 4x multisampling is allowed. WebGPU guarantees exactly 1 and 4. | |
| bool | storage = false |
| Usable as a write-only storage texture. | |
| bool | filterable = false |
| Sampled with a filtering sampler. | |
What one format supports on a device.
| bool pulp::render::GpuFormatSupport::blendable = false |
Blending is allowed when it is a color attachment.
| bool pulp::render::GpuFormatSupport::filterable = false |
Sampled with a filtering sampler.
| GpuFormat pulp::render::GpuFormatSupport::format = GpuFormat::undefined |
| bool pulp::render::GpuFormatSupport::multisample = false |
4x multisampling is allowed. WebGPU guarantees exactly 1 and 4.
| bool pulp::render::GpuFormatSupport::renderable = false |
Usable as a render-pass color (or depth) attachment.
| bool pulp::render::GpuFormatSupport::storage = false |
Usable as a write-only storage texture.