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

#include <gpu_pass.hpp>

Public Attributes

std::uint32_t width = 0
std::uint32_t height = 0
GpuFormat format = GpuFormat::rgba8_unorm
GpuTextureUsage usage
 The default suits a pass output that is composited and read back.
std::uint32_t sample_count = 1
 1, or 4 for a multisampled attachment (see GpuDeviceCapabilities).
std::string label

Member Data Documentation

◆ format

GpuFormat pulp::render::GpuTextureDesc::format = GpuFormat::rgba8_unorm

◆ height

std::uint32_t pulp::render::GpuTextureDesc::height = 0

◆ label

std::string pulp::render::GpuTextureDesc::label

◆ sample_count

std::uint32_t pulp::render::GpuTextureDesc::sample_count = 1

1, or 4 for a multisampled attachment (see GpuDeviceCapabilities).

◆ usage

GpuTextureUsage pulp::render::GpuTextureDesc::usage
Initial value:

The default suits a pass output that is composited and read back.

◆ width

std::uint32_t pulp::render::GpuTextureDesc::width = 0

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/render/include/pulp/render/gpu_pass.hpp