FastUIDraw
|
file fastuidraw_blend_util.frag.glsl.hpp More...
Go to the source code of this file.
Functions | |
vec3 | fastuidraw_clipcolor (in vec3 C) |
clip an RGB value so that its luminosity is within the range fastuidraw_compute_min() and fastuidraw_compute_max(). | |
float | fastuidraw_color_burn (in float S, in float D) |
perform color burn blending on a single color channel More... | |
float | fastuidraw_color_dodge (in float S, in float D) |
perform color dodge blending on a single color channel More... | |
float | fastuidraw_compute_luminosity (in vec3 C) |
compute the luminosity of an RGB value | |
float | fastuidraw_compute_max (in vec3 C) |
Compute the maximum color channel value. | |
float | fastuidraw_compute_min (in vec3 C) |
Compute the minimum color channel value. | |
float | fastuidraw_compute_saturation (in vec3 C) |
compute the saturation of an RGB value | |
float | fastuidraw_hardlight (in float S, in float D) |
perform hardlight blending on a single color channel More... | |
float | fastuidraw_overlay (in float S, in float D) |
perform overlay blending on a single color channel More... | |
vec3 | fastuidraw_set_luminosity (in vec3 C, in vec3 L) |
vec3 | fastuidraw_set_saturation_and_luminosity (in vec3 C, in vec3 S, in vec3 L) |
float | fastuidraw_softlight (in float S, in float D) |
perform softlight blending on a single color channel More... | |
vec3 | fastuidraw_undo_alpha (in vec4 S) |
Undo pre-multiply by alpha on the RGB channels of a color value. | |
file fastuidraw_blend_util.frag.glsl.hpp
Copyright 2018 by Intel.
Contact: kevin .rog ovin@ gmai l.com
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Definition in file fastuidraw_blend_util.frag.glsl.hpp.