|
Public Types |
enum | PIXELOP {
PIXELOP_DECAL,
PIXELOP_NORMAL,
PIXELOP_OVERLAY,
PIXELOP_LINEARDODGE,
PIXELOP_MULTIPLY
} |
Public Member Functions |
| TextureLayersFlatten () |
virtual | ~TextureLayersFlatten () |
void | init (int width, int height, std::vector< Layer > &layers, osg::Group *on, osg::Texture2D *myOutputTexture=NULL, osg::Texture2D *colorMask=NULL, osg::Texture2D *maskOn=NULL, bool bUseOldLayersParams=true) |
const std::vector< Layer > & | getOrgLayer () const |
BaseRenderTechnic * | getBaseRenderTechnic (unsigned int _index) |
int | getNbBaseRenderTechnics () const |
osg::Texture2D * | getOutputTexture () |
void | setOutputTexture (osg::Texture2D *_tex) |
OSGCAL_EXPORT void | flushTextureCacheForAllBRT () |
Static Public Member Functions |
static void | resetBinCounter () |
static void | destroy () |
Protected Member Functions |
void | setupLastColorMaskPass (osg::Group *on) |
Protected Attributes |
std::vector< BaseRenderTechnic * > | technics_ |
std::vector< Layer > | orgLayers_ |
osg::ref_ptr< osg::Texture2D > | outputTexture_ |
osg::ref_ptr< osg::Texture2D > | colorMask_ |
osg::ref_ptr< osg::Texture2D > | maskOn_ |
osg::ref_ptr< osg::MatrixTransform > | modelview_abs_ |
osg::ref_ptr< osg::Projection > | projection_ |
int | width_ |
int | height_ |
osg::ref_ptr< Quad > | quads_ [2] |
Classes |
class | BaseRenderTechnic |
class | DecalRenderTechnic |
class | Layer |
class | LinearDodgeRenderTechnic |
class | MultiplyRenderTechnic |
class | MyGeometry |
class | NormalRenderTechnic |
class | OverlayRenderTechnic |
class | Quad |
class | QuadParams |