MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ synthesize_uv

bool MayaFlux::Portal::Graphics::MillSpec::synthesize_uv { true }

Write 0..1 across each ribbon and quad rather than copying source.

Lets a fragment shader run a gradient, dash, or edge falloff along a ribbon. Ignored when the layout carries no texture coordinates.

A point corner's UV lands in [MILL_POINT_UV_MARKER, +1] instead of [0,1] (data/shaders/include/mill_shape.glsl) – the only way a shared fragment shader tells a point quad from a ribbon or passthrough triangle. Use mill_is_point()/mill_point_local_uv() rather than re-deriving the threshold.

Definition at line 73 of file PrimitiveMill.hpp.

73{ true };

Referenced by MayaFlux::Portal::Graphics::mill_on_host().