Archon::Utilities::PixelFormat::Channel Struct Reference

Describes a single channel. More...

#include <archon/util/pixel_format.H>

Collaboration diagram for Archon::Utilities::PixelFormat::Channel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool operator== (const Channel &c) const

Public Attributes

int offset
 For direct formats this is the channel offset in number of words.
int width
 Bit-width of this channel.

Detailed Description

Describes a single channel.

Definition at line 258 of file pixel_format.H.


Member Data Documentation

int Archon::Utilities::PixelFormat::Channel::offset
 

For direct formats this is the channel offset in number of words.

For packed and tight formats, this is the offset in bits.

Definition at line 265 of file pixel_format.H.

Referenced by Archon::Utilities::PixelFormat::getExpandedFormat(), and operator==().

int Archon::Utilities::PixelFormat::Channel::width
 

Bit-width of this channel.

Zero means that the bit-width will be inferred.

Definition at line 271 of file pixel_format.H.

Referenced by Archon::Utilities::PixelFormat::getExpandedFormat(), and operator==().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 30 22:57:46 2006 for Archon by  doxygen 1.4.4