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

#include <chart_shader_presets.hpp>

Public Attributes

std::string sksl
 SkSL defining half4 shade(PulpChart g); empty when refused.
float reach = 0.0f
 Draw-rect reach the preset needs on every side: for glow, whose light lives outside the band, chart_glow_reach(sigma, intensity); otherwise zero.
std::string error
 Why the request was refused; empty on success.

Member Data Documentation

◆ error

std::string pulp::view::ChartShaderPreset::error

Why the request was refused; empty on success.

◆ reach

float pulp::view::ChartShaderPreset::reach = 0.0f

Draw-rect reach the preset needs on every side: for glow, whose light lives outside the band, chart_glow_reach(sigma, intensity); otherwise zero.

◆ sksl

std::string pulp::view::ChartShaderPreset::sksl

SkSL defining half4 shade(PulpChart g); empty when refused.


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