|
Blender V5.3
|
#include "gpu_shader_compat.hh"Go to the source code of this file.
Functions | |
| void | valtorgb_opti_constant (float fac, float edge, float4 color1, float4 color2, float4 &outcol, float &outalpha) |
| void | valtorgb_opti_linear (float fac, float2 mulbias, float4 color1, float4 color2, float4 &outcol, float &outalpha) |
| void | valtorgb_opti_ease (float fac, float2 mulbias, float4 color1, float4 color2, float4 &outcol, float &outalpha) |
| float | compute_color_map_coordinate (float coordinate) |
| void | valtorgb (float fac, sampler1DArray colormap, float layer, float4 &outcol, float &outalpha) |
| void | valtorgb_nearest (float fac, sampler1DArray colormap, float layer, float4 &outcol, float &outalpha) |
Definition at line 39 of file gpu_shader_common_color_ramp.bsl.hh.
References compute_color_map_coordinate().
Referenced by compute_color_map_coordinate(), and valtorgb().
| void valtorgb | ( | float | fac, |
| sampler1DArray | colormap, | ||
| float | layer, | ||
| float4 & | outcol, | ||
| float & | outalpha ) |
Definition at line 50 of file gpu_shader_common_color_ramp.bsl.hh.
References compute_color_map_coordinate(), layer, texture(), and valtorgb().
Referenced by valtorgb().
| void valtorgb_nearest | ( | float | fac, |
| sampler1DArray | colormap, | ||
| float | layer, | ||
| float4 & | outcol, | ||
| float & | outalpha ) |
Definition at line 57 of file gpu_shader_common_color_ramp.bsl.hh.
References clamp(), layer, texelFetch(), textureSize(), valtorgb_nearest(), and x.
Referenced by valtorgb_nearest().
| void valtorgb_opti_constant | ( | float | fac, |
| float | edge, | ||
| float4 | color1, | ||
| float4 | color2, | ||
| float4 & | outcol, | ||
| float & | outalpha ) |
Definition at line 10 of file gpu_shader_common_color_ramp.bsl.hh.
References valtorgb_opti_constant().
Referenced by valtorgb_opti_constant().
| void valtorgb_opti_ease | ( | float | fac, |
| float2 | mulbias, | ||
| float4 | color1, | ||
| float4 | color2, | ||
| float4 & | outcol, | ||
| float & | outalpha ) |
Definition at line 27 of file gpu_shader_common_color_ramp.bsl.hh.
References clamp(), mix, valtorgb_opti_ease(), float2::x, and float2::y.
Referenced by valtorgb_opti_ease().
| void valtorgb_opti_linear | ( | float | fac, |
| float2 | mulbias, | ||
| float4 | color1, | ||
| float4 | color2, | ||
| float4 & | outcol, | ||
| float & | outalpha ) |
Definition at line 18 of file gpu_shader_common_color_ramp.bsl.hh.
References clamp(), mix, valtorgb_opti_linear(), float2::x, and float2::y.
Referenced by valtorgb_opti_linear().