gfx::BlendImageState Struct Reference

List of all members.

Public Member Functions

void Reset (const int width, const GFX::eColorFormat colorFormat)

Public Attributes

uint mWidth
GFX::eColorFormat mColorFormat
uint mCnt
uint mLen


Detailed Description

Support for blending images (unrelated to fragment blending). An OpenGL auxillary buffer is used. The first 2D image is drawn with no blending, then blending is enabled for drawing more images into the same area. glReadPixels() reads the composite image from the aux buffer into app memory. Proper blending requires turning off depth test (done by default). But special cases such as small transparent polygons (glass on aircraft) require depth test since the Engine doesn't sort polygons.Temporary state during blending images.

Member Function Documentation

void gfx::BlendImageState::Reset ( const int  width,
const GFX::eColorFormat  colorFormat 
) [inline]


Member Data Documentation

uint gfx::BlendImageState::mWidth

GFX::eColorFormat gfx::BlendImageState::mColorFormat

uint gfx::BlendImageState::mCnt

uint gfx::BlendImageState::mLen


The documentation for this struct was generated from the following file: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:27 2007