List of all members.
Classes |
class | BaseRenderTechnic |
class | DecalRenderTechnic |
class | Layer |
class | LinearDodgeRenderTechnic |
class | MultiplyRenderTechnic |
class | MyGeometry |
class | NormalRenderTechnic |
class | OverlayRenderTechnic |
class | Quad |
class | QuadParams |
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, osg::Texture2D *colorMask, osg::Texture2D *maskOn, osg::Texture2D *alphaPart=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) |
void | setupAlphaPartPass (osg::Group *on, osg::Texture2D *textureToPutAlphaOn) |
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::Texture2D > | alphaPart_ |
osg::ref_ptr
< osg::MatrixTransform > | modelview_abs_ |
osg::ref_ptr< osg::Projection > | projection_ |
int | width_ |
int | height_ |
osg::ref_ptr< Quad > | quads_ [4] |
Member Enumeration Documentation
- Enumerator:
PIXELOP_DECAL |
|
PIXELOP_NORMAL |
|
PIXELOP_OVERLAY |
|
PIXELOP_LINEARDODGE |
|
PIXELOP_MULTIPLY |
|
Constructor & Destructor Documentation
osgCal::TextureLayersFlatten::TextureLayersFlatten |
( |
| ) |
|
virtual osgCal::TextureLayersFlatten::~TextureLayersFlatten |
( |
| ) |
[virtual] |
Member Function Documentation
static void osgCal::TextureLayersFlatten::destroy |
( |
| ) |
[static] |
OSGCAL_EXPORT void osgCal::TextureLayersFlatten::flushTextureCacheForAllBRT |
( |
| ) |
|
BaseRenderTechnic* osgCal::TextureLayersFlatten::getBaseRenderTechnic |
( |
unsigned int |
_index | ) |
[inline] |
int osgCal::TextureLayersFlatten::getNbBaseRenderTechnics |
( |
| ) |
const [inline] |
const std::vector<Layer>& osgCal::TextureLayersFlatten::getOrgLayer |
( |
| ) |
const [inline] |
osg::Texture2D* osgCal::TextureLayersFlatten::getOutputTexture |
( |
| ) |
[inline] |
void osgCal::TextureLayersFlatten::init |
( |
int |
width, |
|
|
int |
height, |
|
|
std::vector< Layer > & |
layers, |
|
|
osg::Group * |
on, |
|
|
osg::Texture2D * |
myOutputTexture, |
|
|
osg::Texture2D * |
colorMask, |
|
|
osg::Texture2D * |
maskOn, |
|
|
osg::Texture2D * |
alphaPart = NULL , |
|
|
bool |
bUseOldLayersParams = true |
|
) |
| |
static void osgCal::TextureLayersFlatten::resetBinCounter |
( |
| ) |
[static] |
void osgCal::TextureLayersFlatten::setOutputTexture |
( |
osg::Texture2D * |
_tex | ) |
[inline] |
void osgCal::TextureLayersFlatten::setupAlphaPartPass |
( |
osg::Group * |
on, |
|
|
osg::Texture2D * |
textureToPutAlphaOn |
|
) |
| [protected] |
void osgCal::TextureLayersFlatten::setupLastColorMaskPass |
( |
osg::Group * |
on | ) |
[protected] |
Member Data Documentation
The documentation for this class was generated from the following file: