class OpenGL::Color
- OpenGL::Color
- OpenGL::Vector3
- OpenGL::Vector
- Reference
- Object
Defined in:
opengl/math/color.crConstructors
Class Method Summary
Instance Method Summary
- #add_colors(a, b)
- #b
- #b=(v)
- #clone
- #convert_gamma_to_linear
- #convert_linear_to_gamma
- #copy_gamma_to_linear(color, gamma_factor = 2.0_f32)
- #copy_linear_to_gamma(color, gamma_factor = 2.0_f32)
- #g
- #g=(v)
- #hex
- #hex_string
-
#hsl
h,s,l ranges are in 0.0 - 1.0
- #offset_hsl(h, s, l)
- #r
- #r=(v)
- #set(value : Color)
- #set(value : Int)
- #set(value : String)
- #set_hex(hex)
- #set_hsl(h, s, l)
- #set_rgb(r, g, b)
- #set_style(style)
- #style