Panda3D
Public Member Functions | Public Attributes | List of all members
pixel Struct Reference

Public Member Functions

 pixel (gray fill)
 
 pixel (gray r, gray g, gray b)
 
pixel operator * (const double mult) const
 
void operator *= (const double mult)
 
pixel operator - (const pixel &other) const
 
void operator -= (const pixel &other)
 
gray operator [] (int i) const
 
gray & operator [] (int i)
 
pixel operator+ (const pixel &other) const
 
void operator+= (const pixel &other)
 

Public Attributes

gray b
 
gray g
 
gray r
 

Detailed Description

Definition at line 41 of file pnmimage_base.h.


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