Expand description
Built-in colourmap LUT data.
Structs§
- Colourmap
Id - Identifies a colourmap (LUT) uploaded to the GPU.
Functions§
- coolwarm_
rgba - Diverging coolwarm colourmap: blue at t=0, white at t=0.5, red at t=1.
- export_
paraview_ xml_ colourmap - Serialize a colourmap to the ParaView XML colourmap format.
- greyscale_
rgba - Linear greyscale ramp from black (index 0) to white (index 255).
- inferno_
rgba - Inferno colourmap : perceptually uniform. Black -> deep red -> orange -> light yellow.
- jet_
rgba - Jet colourmap : classic blue-cyan-green-yellow-red. Not perceptually uniform.
- lerp_
colourmap_ lut - Linearly interpolate between colour stops to produce a 256-sample LUT.
- magma_
rgba - Magma colourmap : perceptually uniform. Black/purple -> orange -> near-white.
- parse_
paraview_ xml_ colourmap - Parse a ParaView XML colourmap file.
- plasma_
rgba - Plasma colourmap : perceptually uniform, colourblind-friendly.
- rainbow_
rgba - Rainbow colourmap: HSV hue sweep from 240 deg (blue) at t=0 to 0 deg (red) at t=1.
- rdbu_
r_ rgba - RdBu diverging colourmap (red -> white -> blue, reversed so blue is at t=0). Suitable for signed quantities (negative = blue, zero = white, positive = red).
- turbo_
rgba - Turbo colourmap (Google 2019) : improved rainbow. Deep purple -> cyan -> green -> yellow -> red.
- viridis_
rgba - Viridis colourmap : perceptually uniform, colourblind-friendly.