HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImathColor.h File Reference
#include "ImathExport.h"
#include "ImathNamespace.h"
#include "ImathVec.h"
#include "half.h"
+ Include dependency graph for ImathColor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Color3< T >
 
class  Color4< T >
 

Typedefs

typedef Color3< floatColor3f
 3 float channels More...
 
typedef Color3< halfColor3h
 3 half channels More...
 
typedef Color3< unsigned char > Color3c
 3 8-bit integer channels More...
 
typedef Color3< halfC3h
 3 half channels More...
 
typedef Color3< floatC3f
 3 float channels More...
 
typedef Color3< unsigned char > C3c
 3 8-bit integer channels More...
 
typedef Color4< floatColor4f
 4 float channels More...
 
typedef Color4< halfColor4h
 4 half channels More...
 
typedef Color4< unsigned char > Color4c
 4 8-bit integer channels More...
 
typedef Color4< floatC4f
 4 float channels More...
 
typedef Color4< halfC4h
 4 half channels More...
 
typedef Color4< unsigned char > C4c
 4 8-bit integer channels More...
 
typedef unsigned int PackedColor
 Packed 32-bit integer. More...
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &s, const Color4< T > &v)
 Stream output, as "(r g b a)". More...
 
template<class S , class T >
IMATH_HOSTDEVICE constexpr
Color4< T > 
operator* (S a, const Color4< T > &v) IMATH_NOEXCEPT
 Reverse multiplication: S * Color4. More...
 

Typedef Documentation

typedef Color3<unsigned char> C3c

3 8-bit integer channels

Definition at line 283 of file ImathColor.h.

typedef Color3<float> C3f

3 float channels

Definition at line 280 of file ImathColor.h.

typedef Color3<half> C3h

3 half channels

Definition at line 277 of file ImathColor.h.

typedef Color4<unsigned char> C4c

4 8-bit integer channels

Definition at line 301 of file ImathColor.h.

typedef Color4<float> C4f

4 float channels

Definition at line 295 of file ImathColor.h.

typedef Color4<half> C4h

4 half channels

Definition at line 298 of file ImathColor.h.

typedef Color3<unsigned char> Color3c

3 8-bit integer channels

Definition at line 274 of file ImathColor.h.

typedef Color3<float> Color3f

3 float channels

Definition at line 268 of file ImathColor.h.

typedef Color3<half> Color3h

3 half channels

Definition at line 271 of file ImathColor.h.

typedef Color4<unsigned char> Color4c

4 8-bit integer channels

Definition at line 292 of file ImathColor.h.

typedef Color4<float> Color4f

4 float channels

Definition at line 286 of file ImathColor.h.

typedef Color4<half> Color4h

4 half channels

Definition at line 289 of file ImathColor.h.

typedef unsigned int PackedColor

Packed 32-bit integer.

Definition at line 304 of file ImathColor.h.

Function Documentation

template<class S , class T >
IMATH_HOSTDEVICE constexpr Color4< T > operator* ( a,
const Color4< T > &  v 
)
inline

Reverse multiplication: S * Color4.

Definition at line 732 of file ImathColor.h.

template<class T >
std::ostream & operator<< ( std::ostream &  s,
const Color4< T > &  v 
)

Stream output, as "(r g b a)".

Definition at line 721 of file ImathColor.h.