RGB.kl

Types

RGB (struct)

Members

Byte r  
Byte g  
Byte b  

Methods

  RGB ( in Byte r, in Byte g, in Byte b )
  RGB ( in Color c )
  RGB ( in Integer r, in Integer g, in Integer b )
  RGB ( in RGB other )
  RGB ( in RGBA r )
  RGB ()
RGB add ? ( in RGB other )
RGB clone ? ()
Boolean equal ? ( in RGB other )
UInt32 hash ? ()
RGB linearInterpolate ? ( in RGB other, in Scalar t )
RGB multiply ? ( in RGB other )
RGB multiplyScalar ? ( in Scalar other )
RGB subtract ? ( in RGB other )

Operators

RGB = ( Param other )

Functions

Math_min

RGBA Math_min ( in RGBA val1, in RGBA val2 )

Returns the minimum of two RGBA values

Math_max

RGBA Math_max ( in RGBA val1, in RGBA val2 )

Returns the minimum of two RGBA values

Math_clamp

Vec3_i Math_clamp ( in Vec3_i val, in Scalar minval, in Scalar maxval )

Clamps a Vec3_i value by min and max

mathRandomRGB

RGB mathRandomRGB ( in Size seed, in Size index, in Float32 min, in Float32 max )