~ubuntu-branches/ubuntu/raring/openwalnut/raring

« back to all changes in this revision

Viewing changes to src/core/graphicsEngine/offscreen/WGEOffscreenRenderPass.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Eichelbaum
  • Date: 2012-12-12 11:26:32 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20121212112632-xhiuwkxuz5h0idkh
Tags: 1.3.1+hg5849-1
* Minor changes compared to 1.3.0 but included several bug fixes.
* See http://www.openwalnut.org/versions/4

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
#include "../WGEUtils.h"
34
34
#include "../WGETexture.h"
35
 
#include "../WExportWGE.h"
 
35
 
36
36
 
37
37
class WGETextureHud;
38
38
 
41
41
 * which, by default, is the same as the camera in the this instance nesting graph. It allows simple attachment of textures to a offscreen
42
42
 * rendering as well as easy texture creation.
43
43
 */
44
 
class WGE_EXPORT WGEOffscreenRenderPass: public osg::Camera // NOLINT
 
44
class WGEOffscreenRenderPass: public osg::Camera // NOLINT
45
45
{
46
46
public:
47
47
    /**
96
96
    /**
97
97
     * This method attaches a texture to the given buffer. The texture gets created with the resolution of the FBO.
98
98
     *
 
99
     * On Mac OSX, only GL_RGBA works as internal format, so all input to internalFormat is ignored and overwritten by GL_RGBA internally.
 
100
     *
99
101
     * \param buffer the buffer to attach the new texture to
100
102
     * \param internalFormat the format to use. By default, RGBA
101
103
     *
170
172
     */
171
173
    virtual void addUniform( osg::ref_ptr< osg::Uniform > uniform );
172
174
protected:
173
 
 
174
175
    /**
175
176
     * The width of the textures used for this pass. This should be as large as needed for each "common" viewport."
176
177
     */