summaryrefslogtreecommitdiff
path: root/include/vcl/opengl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-08 17:37:01 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-08 17:39:01 +1100
commitc5c5626dd564d07145bb898adf6815cb56c7199b (patch)
treeb4bea1b64ef742468155a344ecb7017a84f4b5a3 /include/vcl/opengl
parent8d481730c1936e159b628effe6de4dd043cdebb8 (diff)
vcl: document some OpenGL parameters
Change-Id: I3e3982170e9f0f898d88fdfed2c5004dfffc6aed
Diffstat (limited to 'include/vcl/opengl')
-rw-r--r--include/vcl/opengl/OpenGLHelper.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/vcl/opengl/OpenGLHelper.hxx b/include/vcl/opengl/OpenGLHelper.hxx
index 5e1e86e602a9..4b92fb99a2e5 100644
--- a/include/vcl/opengl/OpenGLHelper.hxx
+++ b/include/vcl/opengl/OpenGLHelper.hxx
@@ -63,7 +63,12 @@ public:
/**
* The caller is responsible for deleting the buffer objects identified by
* nFramebufferId, nRenderbufferDepthId and nRenderbufferColorId
- * @param bRenderbuffer true => off-screen rendering, false => rendering to texture
+ * @param nWidth Width of frame
+ * @param nHeight Height of frame
+ * @param nFramebufferId FrameBuffer ID
+ * @param nRenderbufferDepthID RenderBuffer's depth ID
+ * @param nRenderbufferColorID RenderBuffer's color ID
+ * @param bRenderbuffer true => off-screen rendering, false => rendering to texture
* This also affects whether to free with glDeleteRenderbuffers or glDeleteTextures
*/
static void createFramebuffer(long nWidth, long nHeight, GLuint& nFramebufferId,