osgPPU Namespace Reference


Data Structures

class  BarrierNode
class  Camera
 Camera class which can be used with osgPPU. More...
class  ColorAttribute
 Stateattribute to work with blending. Can be used for animated blending operations (fadein, fadeout). More...
class  Processor
 Main processor used to setup the unit pipeline. More...
class  ShaderAttribute
 Wrapper class to simplify work with shader and uniforms. More...
class  Unit
 Abstract base class of any unit. More...
class  UnitBypass
 Unit which do simply bypass input to the output. More...
class  UnitCamera
 Put camera into unit pipeline. More...
class  UnitCameraAttachmentBypass
 Bypass a specified camera attacment into the pipeline. More...
class  UnitDepthbufferBypass
 Bypass the depthbuffer attachment of the camera to the output. More...
class  UnitInMipmapOut
 Compute mipmapped output texture based on the input data. More...
class  UnitInOut
 Compute output texture based on the assigned shaders and input data. More...
class  UnitInOutModule
 Apply some loaded module on the input texture to compute the output. More...
class  UnitInResampleOut
 Same as UnitInOut but do resampling inbetween. More...
class  UnitMipmapInMipmapOut
 Same as UnitInOut however do bypass also mipmap levels. More...
class  UnitOut
 Output the input to the frame buffer instead to the output texture. More...
class  UnitOutCapture
 Capture the content of the input texture to a file. More...
class  UnitText
 Same as UnitInOut but renders text onto the output. More...
class  UnitTexture
 Texture unit is used to setup external textures in the unit graph. More...
class  UnitVisitor
class  CleanUpdateTraversedVisitor
class  CleanCullTraversedVisitor
class  SetMaximumInputsVisitor
class  FindUnitVisitor
class  RemoveUnitVisitor
class  OptimizeUnitsVisitor
class  ResolveUnitsCyclesVisitor
class  SetupUnitRenderingVisitor
class  FindProcessorVisitor
class  MarkUnitsDirtyVisitor
class  RemoveUnitsViewportsVisitor

Functions

OSGPPU_EXPORT GLenum createSourceTextureFormat (GLenum internalFormat)
OSGPPU_EXPORT osg::Uniform::Type convertTextureToUniformType (osg::Texture *tex)
OSGPPU_EXPORT unsigned int computeTextureSizeInBytes (osg::Texture *tex)


Detailed Description

osgPPU module

Function Documentation

OSGPPU_EXPORT unsigned int osgPPU::computeTextureSizeInBytes ( osg::Texture *  tex  ) 

Compute memory size in bytes, which is allocated by the texture.

OSGPPU_EXPORT osg::Uniform::Type osgPPU::convertTextureToUniformType ( osg::Texture *  tex  ) 

Utility function to derive uniform type based on the given texture.

OSGPPU_EXPORT GLenum osgPPU::createSourceTextureFormat ( GLenum  internalFormat  ) 

Utility function to derive source texture format from the internal format. For example GL_RGB16F_ARB corresponds to GL_RGB


Back to Homepage of osgPPU

Copyright (C) 2008 by Art Tevs (LGPL)