XII Release 0.1.0
Loading...
Searching...
No Matches
xiiColorLinear16f Class Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <Color16f.h>

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 xiiColorLinear16f ()
 default-constructed color is uninitialized (for speed)
 xiiColorLinear16f (xiiFloat16 r, xiiFloat16 g, xiiFloat16 b, xiiFloat16 a)
 Initializes the color with r, g, b, a.
 xiiColorLinear16f (const xiiColor &color)
 Initializes the color with xiiColor.
xiiColor ToLinearFloat () const
 Conversion to xiiColor.
const xiiFloat16 * GetData () const
 Conversion to const xiiFloat16*.
xiiFloat16 * GetData ()
 Conversion to xiiFloat16* - use with care!

Public Attributes

xiiFloat16 r
xiiFloat16 g
xiiFloat16 b
xiiFloat16 a

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

A 16bit per channel float color storage format.

For any calculations or conversions use xiiColor.

See also
xiiColor

Constructor & Destructor Documentation

◆ xiiColorLinear16f()

xiiColorLinear16f::xiiColorLinear16f ( )
inlinedefault

default-constructed color is uninitialized (for speed)

Copyright (c) Theophilus Eriata. All Rights Reserved.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Math/Color16f.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Math/Implementation/Color16f_inl.h