1 #ifndef GLPROJECTION_OUTPUT_ATTACHMENT_HH_
2 #define GLPROJECTION_OUTPUT_ATTACHMENT_HH_
3 #include <bias_config.h>
5 #ifndef BIAS_HAVE_OPENGL
6 # error You need BIAS with USE_OpenGL Please recompile BIAS.
7 #endif // BUILD_GLviewer
9 #include <Gui/biasgl.h>
10 #include <Base/Debug/Debug.hh>
11 #include <GLviewer/Scenes/SceneBase.hh>
13 #include <OpenGLFramework/Base/glfCommon.hh>
14 #include <OpenGLFramework/Base/glfShader.hh>
15 #include <OpenGLFramework/Base/glfShaderProgram.hh>
16 #include <OpenGLFramework/Base/glfFramebufferObject.hh>
17 #include <OpenGLFramework/Base/glfRenderTarget.hh>
18 #include <OpenGLFramework/Base/glfTexture2D.hh>
50 return &(specialDisplayRenderingFBO_);
58 int InitShader(std::string vertexCode, std::string fragmentCode);
64 virtual int Draw_() {
return StandardDraw_();};
virtual int InitShader_()
BIAS::glfRenderTarget * target_
A shader program composed of several shaders.
A GLSL vertex shader or fragment shader, which must be linked in a shader program.
GLProjectionOutputAttachmentType
BIAS::Vector4< float > ClearColor_
BIAS::glfTexture2D specialDisplayTex_
BIAS::glfFramebufferObject specialDisplayRenderingFBO_
BIAS::glfShaderProgram shaderProg_
BIAS::glfFramebufferObject * GetOutputFBO()
used by GLProjection to find rendering target of first pass
Class for extra rendering pass in GLProjection (for now only used in glutGLviewer) ...
Interface for render targets.