osgEarth 2.1.1
Public Member Functions | Public Attributes

AggState Struct Reference

Inheritance diagram for AggState:
Collaboration diagram for AggState:

List of all members.

Public Member Functions

 AggState (osg::Image *image)

Public Attributes

agg::rendering_buffer _rbuf
agg::renderer< agg::span_abgr32_ren
agg::rasterizer _ras

Detailed Description

Definition at line 31 of file GeometryRasterizer.cpp.


Constructor & Destructor Documentation

AggState::AggState ( osg::Image *  image) [inline]

Definition at line 33 of file GeometryRasterizer.cpp.

        : _rbuf( image->data(), image->s(), image->t(), image->s()*4 ),
          _ren( _rbuf )
    {
        _ras.gamma( 1.3 );
        _ras.filling_rule( agg::fill_even_odd );

        // pre-clear the buffer....
        _ren.clear(agg::rgba8(0,0,0,0));
    }

Member Data Documentation

Definition at line 46 of file GeometryRasterizer.cpp.

Definition at line 44 of file GeometryRasterizer.cpp.

Definition at line 45 of file GeometryRasterizer.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines