vcl: document some OpenGL parameters

Change-Id: I3e3982170e9f0f898d88fdfed2c5004dfffc6aed
This commit is contained in:
Chris Sherlock
2016-01-08 17:37:01 +11:00
parent 8d481730c1
commit c5c5626dd5

View File

@@ -63,7 +63,12 @@ public:
/** /**
* The caller is responsible for deleting the buffer objects identified by * The caller is responsible for deleting the buffer objects identified by
* nFramebufferId, nRenderbufferDepthId and nRenderbufferColorId * 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 * This also affects whether to free with glDeleteRenderbuffers or glDeleteTextures
*/ */
static void createFramebuffer(long nWidth, long nHeight, GLuint& nFramebufferId, static void createFramebuffer(long nWidth, long nHeight, GLuint& nFramebufferId,