osgEarth 2.1.1
|
Public Member Functions | |
virtual bool | requiresUnitTextureSpace () const =0 |
virtual bool | usesShaderComposition () const =0 |
virtual bool | blendingRequiresSecondarySlot () const |
virtual bool | supportsLayerUpdate () const |
virtual void | updateMasterStateSet (osg::StateSet *stateSet, const TextureLayout &layout) const |
virtual GeoImage | prepareImage (const GeoImage &image, const GeoExtent &tileExtent) const |
virtual GeoImage | prepareSecondaryImage (const GeoImage &image, const GeoExtent &tileExtent) const |
virtual void | applyLayerUpdate (osg::StateSet *stateSet, UID layerUID, const GeoImage &preparedImage, const TileKey &tileKey, const TextureLayout &layout, osg::StateSet *parentStateSet) const |
virtual void | applyLayerRemoval (osg::StateSet *stateSet, UID layerUID) const |
virtual osg::Shader * | createSamplerFunction (UID layerUID, const std::string &functionName, osg::Shader::Type type, const TextureLayout &layout) const |
Base interface for a particular texture composition implementation
TODO: document these methods
Definition at line 111 of file TextureCompositor.
virtual void osgEarth::TextureCompositorTechnique::applyLayerRemoval | ( | osg::StateSet * | stateSet, |
UID | layerUID | ||
) | const [inline, virtual] |
Definition at line 130 of file TextureCompositor.
{ }
virtual void osgEarth::TextureCompositorTechnique::applyLayerUpdate | ( | osg::StateSet * | stateSet, |
UID | layerUID, | ||
const GeoImage & | preparedImage, | ||
const TileKey & | tileKey, | ||
const TextureLayout & | layout, | ||
osg::StateSet * | parentStateSet | ||
) | const [inline, virtual] |
Reimplemented in osgEarth::TextureCompositorMultiTexture.
Definition at line 128 of file TextureCompositor.
{ }
virtual bool osgEarth::TextureCompositorTechnique::blendingRequiresSecondarySlot | ( | ) | const [inline, virtual] |
Reimplemented in osgEarth::TextureCompositorMultiTexture.
Definition at line 118 of file TextureCompositor.
{ return false; }
virtual osg::Shader* osgEarth::TextureCompositorTechnique::createSamplerFunction | ( | UID | layerUID, |
const std::string & | functionName, | ||
osg::Shader::Type | type, | ||
const TextureLayout & | layout | ||
) | const [inline, virtual] |
Reimplemented in osgEarth::TextureCompositorMultiTexture.
Definition at line 132 of file TextureCompositor.
{ return 0L; }
virtual GeoImage osgEarth::TextureCompositorTechnique::prepareImage | ( | const GeoImage & | image, |
const GeoExtent & | tileExtent | ||
) | const [inline, virtual] |
Definition at line 124 of file TextureCompositor.
{ return image; }
virtual GeoImage osgEarth::TextureCompositorTechnique::prepareSecondaryImage | ( | const GeoImage & | image, |
const GeoExtent & | tileExtent | ||
) | const [inline, virtual] |
Definition at line 126 of file TextureCompositor.
{ return image; }
virtual bool osgEarth::TextureCompositorTechnique::requiresUnitTextureSpace | ( | ) | const [pure virtual] |
Implemented in osgEarth::TextureCompositorMultiTexture.
virtual bool osgEarth::TextureCompositorTechnique::supportsLayerUpdate | ( | ) | const [inline, virtual] |
Reimplemented in osgEarth::TextureCompositorMultiTexture.
Definition at line 120 of file TextureCompositor.
{ return false; }
virtual void osgEarth::TextureCompositorTechnique::updateMasterStateSet | ( | osg::StateSet * | stateSet, |
const TextureLayout & | layout | ||
) | const [inline, virtual] |
Reimplemented in osgEarth::TextureCompositorMultiTexture.
Definition at line 122 of file TextureCompositor.
{ }
virtual bool osgEarth::TextureCompositorTechnique::usesShaderComposition | ( | ) | const [pure virtual] |
Implemented in osgEarth::TextureCompositorMultiTexture.