{{QBDLDATE:07-31-2022}} {{QBDLTIME:23:45:58}} {{DISPLAYTITLE:_glBegin}} The '''_glBegin''' and '''_glEnd''' statements delimit the vertices of a primitive or a group of like primitives. {{PageSyntax}} : '''_glBegin''' GLenum {{Parameter|mode}} {{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/glbegin Microsoft Docs] and is also valid for QB64 usage. {{PageSeeAlso}} * [[_GL|SUB _GL]] * [[_glCallList]], [[_glCallLists]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glcolor-functions _glColor], [https://docs.microsoft.com/en-us/windows/win32/opengl/gledgeflag-functions _glEdgeFlag] * [[_glEnd]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glevalcoord-functions _glEvalCoord], [https://docs.microsoft.com/en-us/windows/win32/opengl/glevalpoint _glEvalPoint], [https://docs.microsoft.com/en-us/windows/win32/opengl/glindex-functions _glIndex] * [https://docs.microsoft.com/en-us/windows/win32/opengl/glmaterial-functions _glMaterial], [https://docs.microsoft.com/en-us/windows/win32/opengl/glnormal-functions _glNormal], [https://docs.microsoft.com/en-us/windows/win32/opengl/gltexcoord-functions _glTexCoord], [https://docs.microsoft.com/en-us/windows/win32/opengl/glvertex-functions _glVertex] {{PageNavigation}} [[Category:Final]]