Cinder  0.9.1
Public Types | Static Public Member Functions | List of all members
cinder::CHANTRAIT< uint16_t > Struct Template Reference

#include <ChanTraits.h>

Public Types

typedef uint32_t Sum
 
typedef uint32_t Accum
 
typedef int32_t SignedSum
 

Static Public Member Functions

static uint16_t max ()
 
static uint16_t convert (uint8_t v)
 
static uint16_t convert (uint16_t v)
 
static uint16_t convert (half_float v)
 
static uint16_t convert (float v)
 
static uint16_t grayscale (uint16_t r, uint16_t g, uint16_t b)
 

Member Typedef Documentation

typedef uint32_t cinder::CHANTRAIT< uint16_t >::Sum
typedef uint32_t cinder::CHANTRAIT< uint16_t >::Accum
typedef int32_t cinder::CHANTRAIT< uint16_t >::SignedSum

Member Function Documentation

static uint16_t cinder::CHANTRAIT< uint16_t >::max ( )
static
static uint16_t cinder::CHANTRAIT< uint16_t >::convert ( uint8_t  v)
static
static uint16_t cinder::CHANTRAIT< uint16_t >::convert ( uint16_t  v)
static
static uint16_t cinder::CHANTRAIT< uint16_t >::convert ( half_float  v)
static
static uint16_t cinder::CHANTRAIT< uint16_t >::convert ( float  v)
static
static uint16_t cinder::CHANTRAIT< uint16_t >::grayscale ( uint16_t  r,
uint16_t  g,
uint16_t  b 
)
static

The documentation for this struct was generated from the following file: