NAME
chaff_gl_uniforms_t
SYNOPSIS
#include <chaff_glsl.h>
Data Fields
Detailed Description
Declarative uniform buffer contract for client GPU pipelines
Field Documentation
float chaff_gl_uniforms_t::amps[8]
Amplitude weight per octave
uint32_t chaff_gl_uniforms_t::count
Active octave count (up to 8)
float chaff_gl_uniforms_t::min_wavelength
Nyquist cutoff filter: drop octaves with (1<<shift) < min_wavelength
float chaff_gl_uniforms_t::origin[2]
Continuous world coordinate origin (wx, wy)
float chaff_gl_uniforms_t::rot_cos
Optional inter-octave rotation cos(theta) (0.0f = default golden 0.8506508f)
float chaff_gl_uniforms_t::rot_sin
Optional inter-octave rotation sin(theta) (0.0f = default golden 0.5257311f)
uint32_t chaff_gl_uniforms_t::seed
Primary seed
uint32_t chaff_gl_uniforms_t::seed_prime
Optional per-octave seed prime (0 = default 0x85EBCA77u)
uint32_t chaff_gl_uniforms_t::seed_salt
Optional per-octave seed salt (0 = default 1u)
uint32_t chaff_gl_uniforms_t::shifts[8]
Lattice size 2^shift per octave
float chaff_gl_uniforms_t::step[2]
Step size per pixel / texel
uint32_t chaff_gl_uniforms_t::vshift
Optional bitshift divider (0 = default 8)
float chaff_gl_uniforms_t::warp_amp
Optional domain warp displacement amplitude (0.0f = default 6.0f, <0 = disable)
float chaff_gl_uniforms_t::warp_freq
Optional domain warp frequency scale (0.0f = default 0.0625f)
uint32_t chaff_gl_uniforms_t::warp_salt
Optional domain warp seed XOR salt (0 = default 0x9E3779B9u)
uint32_t chaff_gl_uniforms_t::warp_shift
Optional domain warp octave shift (0 = default 5)
Author
Generated automatically by Doxygen for chaff from the source code.