Gizmo3D

gzGraphicsFormat Class Reference

#include <gzGraphicsFormat.h>

Inheritance diagram for gzGraphicsFormat:

gzReference gzSharedMemory gzTypeInterface List of all members.

Public Member Functions

 gzGraphicsFormat (gzInt redbits=1, gzInt greenbits=1, gzInt bluebits=1, gzInt alphabits=0, gzInt stencilbits=0, gzInt depthbits=1, gzInt accredbits=0, gzInt accgreenbits=0, gzInt accbluebits=0, gzInt accalphabits=0)
virtual ~gzGraphicsFormat ()
gzVoid setRGBBits (gzInt redbits, gzInt greenbits, gzInt bluebits)
gzVoid setRedBits (gzInt bits)
gzVoid setGreenBits (gzInt bits)
gzVoid setBlueBits (gzInt bits)
gzInt getRedBits ()
gzInt getGreenBits ()
gzInt getBlueBits ()
gzInt getColorBits ()
gzBool useDoubleBuffer () const
gzVoid useDoubleBuffer (gzBool enable)
gzBool useDepth () const
gzVoid useDepth (gzBool enable)
gzVoid setDepthBits (gzInt bits)
gzInt getDepthBits ()
gzBool useAlpha () const
gzVoid useAlpha (gzBool enable)
gzVoid setAlphaBits (gzInt bits)
gzInt getAlphaBits ()
gzBool useAccum () const
gzVoid useAccum (gzBool enable)
gzVoid setAccumBits (gzInt redbits, gzInt greenbits, gzInt bluebits, gzInt alphabits=0)
gzVoid setAccumRedBits (gzInt bits)
gzVoid setAccumGreenBits (gzInt bits)
gzVoid setAccumBlueBits (gzInt bits)
gzVoid setAccumAlphaBits (gzInt bits)
gzInt getAccumRedBits ()
gzInt getAccumGreenBits ()
gzInt getAccumBlueBits ()
gzInt getAccumAlphaBits ()
gzInt getAccumBits ()
gzBool useStencil () const
gzVoid useStencil (gzBool enable)
gzVoid setStencilBits (gzInt bits)
gzInt getStencilBits ()
gzVoid useFullScreen (gzBool on)
gzBool useFullScreen () const
gzVoid useStereo (gzBool on)
gzBool useStereo () const
gzVoid useMultisample (gzBool on)
gzBool useMultisample () const
gzVoid setMultisamples (gzInt samples)
gzInt getMultisamples ()
gzVoid setFullScreenWidth (gzInt width=0)
gzInt getFullScreenWidth ()
gzVoid setFullScreenHeight (gzInt height=0)
gzInt getFullScreenHeight ()
gzVoid setFullScreenFrequency (gzInt hz=0)
gzInt getFullScreenFrequency () const
gzVoid notifyFormat ()
gzVisual getVisual ()
gzVisual getNewVisual (gzDeviceContext context, gzContext *renderContext, gzBool offscreen=FALSE)
gzVoid setDefault ()

Static Public Member Functions

static gzGraphicsFormatgetDefault ()

Detailed Description

Examples:

billboard.cpp, cube.cpp, dbviewer.cpp, mirror.cpp, shaders.cpp, showWindow.cpp, skybox.cpp, and tree.cpp.

Definition at line 34 of file gzGraphicsFormat.h.


Constructor & Destructor Documentation

gzGraphicsFormat::gzGraphicsFormat gzInt  redbits = 1,
gzInt  greenbits = 1,
gzInt  bluebits = 1,
gzInt  alphabits = 0,
gzInt  stencilbits = 0,
gzInt  depthbits = 1,
gzInt  accredbits = 0,
gzInt  accgreenbits = 0,
gzInt  accbluebits = 0,
gzInt  accalphabits = 0
 

virtual gzGraphicsFormat::~gzGraphicsFormat  )  [virtual]
 


Member Function Documentation

gzInt gzGraphicsFormat::getAccumAlphaBits  ) 
 

gzInt gzGraphicsFormat::getAccumBits  ) 
 

gzInt gzGraphicsFormat::getAccumBlueBits  ) 
 

gzInt gzGraphicsFormat::getAccumGreenBits  ) 
 

gzInt gzGraphicsFormat::getAccumRedBits  ) 
 

gzInt gzGraphicsFormat::getAlphaBits  ) 
 

gzInt gzGraphicsFormat::getBlueBits  ) 
 

gzInt gzGraphicsFormat::getColorBits  ) 
 

static gzGraphicsFormat* gzGraphicsFormat::getDefault  )  [static]
 

gzInt gzGraphicsFormat::getDepthBits  ) 
 

gzInt gzGraphicsFormat::getFullScreenFrequency  )  const
 

gzInt gzGraphicsFormat::getFullScreenHeight  ) 
 

gzInt gzGraphicsFormat::getFullScreenWidth  ) 
 

gzInt gzGraphicsFormat::getGreenBits  ) 
 

gzInt gzGraphicsFormat::getMultisamples  ) 
 

gzVisual gzGraphicsFormat::getNewVisual gzDeviceContext  context,
gzContext renderContext,
gzBool  offscreen = FALSE
 

gzInt gzGraphicsFormat::getRedBits  ) 
 

gzInt gzGraphicsFormat::getStencilBits  ) 
 

gzVisual gzGraphicsFormat::getVisual  ) 
 

gzVoid gzGraphicsFormat::notifyFormat  ) 
 

gzVoid gzGraphicsFormat::setAccumAlphaBits gzInt  bits  ) 
 

gzVoid gzGraphicsFormat::setAccumBits gzInt  redbits,
gzInt  greenbits,
gzInt  bluebits,
gzInt  alphabits = 0
 

gzVoid gzGraphicsFormat::setAccumBlueBits gzInt  bits  ) 
 

gzVoid gzGraphicsFormat::setAccumGreenBits gzInt  bits  ) 
 

gzVoid gzGraphicsFormat::setAccumRedBits gzInt  bits  ) 
 

gzVoid gzGraphicsFormat::setAlphaBits gzInt  bits  ) 
 

gzVoid gzGraphicsFormat::setBlueBits gzInt  bits  ) 
 

gzVoid gzGraphicsFormat::setDefault  ) 
 

gzVoid gzGraphicsFormat::setDepthBits gzInt  bits  ) 
 

Examples:
dbviewer.cpp.

gzVoid gzGraphicsFormat::setFullScreenFrequency gzInt  hz = 0  ) 
 

Examples:
dbviewer.cpp.

gzVoid gzGraphicsFormat::setFullScreenHeight gzInt  height = 0  ) 
 

gzVoid gzGraphicsFormat::setFullScreenWidth gzInt  width = 0  ) 
 

Examples:
billboard.cpp, cube.cpp, and dbviewer.cpp.

gzVoid gzGraphicsFormat::setGreenBits gzInt  bits  ) 
 

gzVoid gzGraphicsFormat::setMultisamples gzInt  samples  ) 
 

gzVoid gzGraphicsFormat::setRedBits gzInt  bits  ) 
 

gzVoid gzGraphicsFormat::setRGBBits gzInt  redbits,
gzInt  greenbits,
gzInt  bluebits
 

gzVoid gzGraphicsFormat::setStencilBits gzInt  bits  ) 
 

gzVoid gzGraphicsFormat::useAccum gzBool  enable  ) 
 

gzBool gzGraphicsFormat::useAccum  )  const
 

gzVoid gzGraphicsFormat::useAlpha gzBool  enable  ) 
 

gzBool gzGraphicsFormat::useAlpha  )  const
 

gzVoid gzGraphicsFormat::useDepth gzBool  enable  ) 
 

gzBool gzGraphicsFormat::useDepth  )  const
 

gzVoid gzGraphicsFormat::useDoubleBuffer gzBool  enable  ) 
 

gzBool gzGraphicsFormat::useDoubleBuffer  )  const
 

gzBool gzGraphicsFormat::useFullScreen  )  const
 

gzVoid gzGraphicsFormat::useFullScreen gzBool  on  ) 
 

Examples:
billboard.cpp, cube.cpp, and dbviewer.cpp.

gzBool gzGraphicsFormat::useMultisample  )  const
 

gzVoid gzGraphicsFormat::useMultisample gzBool  on  ) 
 

gzVoid gzGraphicsFormat::useStencil gzBool  enable  ) 
 

gzBool gzGraphicsFormat::useStencil  )  const
 

Examples:
dbviewer.cpp.

gzBool gzGraphicsFormat::useStereo  )  const
 

gzVoid gzGraphicsFormat::useStereo gzBool  on  ) 
 


The documentation for this class was generated from the following file:
Documentation for Gizmo3D generated at Wed Feb 20 11:54:18 2008 by   Saab Training Systems AB, ¸ (c) 2003-and beyond