BALL::VIEW::ChannelFormat Struct Reference

#include <BALL/VIEW/RENDERING/pixelFormat.h>

List of all members.


Public Types

enum  ChannelID {
  NO_CHANNEL = 0, EMPTY_CHANNEL, RED_CHANNEL, GREEN_CHANNEL,
  BLUE_CHANNEL, LUMINANCE_CHANNEL, ALPHA_CHANNEL, DEPTH_CHANNEL,
  Y_CHANNEL, U_CHANNEL, V_CHANNEL
}
enum  ChannelType { SIGNED_INT_CHANNEL, UNSIGNED_INT_CHANNEL, FLOAT_CHANNEL }

Public Member Functions

 ChannelFormat ()
 ChannelFormat (ChannelID id, ChannelType type, unsigned int bitSize)
bool operator== (const ChannelFormat &f) const
bool operator!= (const ChannelFormat &f) const

Public Attributes

ChannelID id: 8
ChannelType type: 8
unsigned int bitSize: 8

Member Enumeration Documentation

Enumerator:
NO_CHANNEL 
EMPTY_CHANNEL 
RED_CHANNEL 
GREEN_CHANNEL 
BLUE_CHANNEL 
LUMINANCE_CHANNEL 
ALPHA_CHANNEL 
DEPTH_CHANNEL 
Y_CHANNEL 
U_CHANNEL 
V_CHANNEL 
Enumerator:
SIGNED_INT_CHANNEL 
UNSIGNED_INT_CHANNEL 
FLOAT_CHANNEL 

Constructor & Destructor Documentation

BALL::VIEW::ChannelFormat::ChannelFormat (  )  [inline]
BALL::VIEW::ChannelFormat::ChannelFormat ( ChannelID  id,
ChannelType  type,
unsigned int  bitSize 
) [inline]

Member Function Documentation

bool BALL::VIEW::ChannelFormat::operator!= ( const ChannelFormat f  )  const [inline]

References bitSize, id, and type.

bool BALL::VIEW::ChannelFormat::operator== ( const ChannelFormat f  )  const [inline]

References bitSize, id, and type.


Member Data Documentation