osgEarth 2.1.1
Public Member Functions

osgEarth::TextureCompositorTechnique Class Reference

Inheritance diagram for osgEarth::TextureCompositorTechnique:
Collaboration diagram for osgEarth::TextureCompositorTechnique:

List of all members.

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

Detailed Description

Base interface for a particular texture composition implementation

TODO: document these methods

Definition at line 111 of file TextureCompositor.


Member Function Documentation

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]
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]

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