Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::render::GpuFormatSupport Struct Reference

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.

Detailed Description

What one format supports on a device.

Member Data Documentation

◆ blendable

bool pulp::render::GpuFormatSupport::blendable = false

Blending is allowed when it is a color attachment.

◆ filterable

bool pulp::render::GpuFormatSupport::filterable = false

Sampled with a filtering sampler.

◆ format

GpuFormat pulp::render::GpuFormatSupport::format = GpuFormat::undefined

◆ multisample

bool pulp::render::GpuFormatSupport::multisample = false

4x multisampling is allowed. WebGPU guarantees exactly 1 and 4.

◆ renderable

bool pulp::render::GpuFormatSupport::renderable = false

Usable as a render-pass color (or depth) attachment.

◆ storage

bool pulp::render::GpuFormatSupport::storage = false

Usable as a write-only storage texture.


The documentation for this struct was generated from the following file: