{{QBDLDATE:07-31-2022}} {{QBDLTIME:23:48:21}} {{DISPLAYTITLE:_glDrawPixels}} The '''_glDrawPixels''' statement writes a block of pixels to the framebuffer. {{PageSyntax}} : '''_glDrawPixels''' GLsizei {{Parameter|width}}, GLsizei {{Parameter|height}}, GLenum {{Parameter|format}}, GLenum {{Parameter|type}}, const GLvoid {{Parameter|*pixels}} {{PageParameters}} * OpenGL is using its own set of variable types to describe its command parameters. * Use the following table to find the respective QB64 [[Variable Types]]. {{OpenGLTypesPlugin}} {{PageDescription}} * OpenGL's documentation is available in several places, so we won't reproduce it here for another time. * The full description for this command can be found at [https://docs.microsoft.com/en-us/windows/win32/opengl/gldrawpixels Microsoft Docs] and is also valid for QB64 usage. {{PageSeeAlso}} * [[_GL|SUB _GL]] * [[_glAlphaFunc]], [[_glBegin]], [[_glBlendFunc]], [[_glCopyPixels]] * [[_glDepthFunc]], [[_glEnd]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glgetbooleanv--glgetdoublev--glgetfloatv--glgetintegerv _glGet], [[_glLogicOp]] * [https://docs.microsoft.com/en-us/windows/win32/opengl/glpixelmap _glPixelMap], [https://docs.microsoft.com/en-us/windows/win32/opengl/glpixelstore-functions _glPixelStore], [https://docs.microsoft.com/en-us/windows/win32/opengl/glpixeltransfer _glPixelTransfer], [[_glPixelZoom]] * [https://docs.microsoft.com/en-us/windows/win32/opengl/glrasterpos-functions _glRasterPos], [[_glReadPixels]], [[_glScissor]], [[_glStencilFunc]] {{PageNavigation}} [[Category:Final]]