Public Types | Public Member Functions | Public Attributes | Static Public Attributes

mozilla::gl::ContextFormat Struct Reference

#include <GLContext.h>

Collaboration diagram for mozilla::gl::ContextFormat:

List of all members.

Public Types

enum  StandardContextFormat {
  Empty, BasicRGBA32, StrictBasicRGBA32, BasicRGB24,
  StrictBasicRGB24, BasicRGB16_565, StrictBasicRGB16_565
}

Public Member Functions

 ContextFormat ()
 ContextFormat (const StandardContextFormat cf)
int colorBits () const

Public Attributes

int depth
int minDepth
int stencil
int minStencil
int red
int minRed
int green
int minGreen
int blue
int minBlue
int alpha
int minAlpha

Static Public Attributes

static const ContextFormat BasicRGBA32Format

Member Enumeration Documentation

Enumerator:
Empty 
BasicRGBA32 
StrictBasicRGBA32 
BasicRGB24 
StrictBasicRGB24 
BasicRGB16_565 
StrictBasicRGB16_565 

Constructor & Destructor Documentation

mozilla::gl::ContextFormat::ContextFormat (  )  [inline]
mozilla::gl::ContextFormat::ContextFormat ( const StandardContextFormat  cf  )  [inline]

Member Function Documentation

int mozilla::gl::ContextFormat::colorBits (  )  const [inline]

Member Data Documentation


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