Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::Canvas::ShaderDataTexture Struct Reference

Latest-wins audio/vector payload exposed to an SkSL child shader. More...

#include <canvas.hpp>

Public Attributes

std::string name
std::vector< float > samples
std::uint32_t count = 0
bool live = false
float neutral = 0.0f
std::uint32_t publish_sequence = 0

Detailed Description

Latest-wins audio/vector payload exposed to an SkSL child shader.

The host keeps this object stable between publications; a backend may retain the corresponding GPU texture until publish_sequence changes.

Member Data Documentation

◆ count

std::uint32_t pulp::canvas::Canvas::ShaderDataTexture::count = 0

◆ live

bool pulp::canvas::Canvas::ShaderDataTexture::live = false

◆ name

std::string pulp::canvas::Canvas::ShaderDataTexture::name

◆ neutral

float pulp::canvas::Canvas::ShaderDataTexture::neutral = 0.0f

◆ publish_sequence

std::uint32_t pulp::canvas::Canvas::ShaderDataTexture::publish_sequence = 0

◆ samples

std::vector<float> pulp::canvas::Canvas::ShaderDataTexture::samples

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