User contributions for SMcNeill

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 100 | ) (20 | 50 | 100 | 250 | 500)

16 May 2024

17 December 2023

26 October 2023

24 October 2023

23 September 2023

20 February 2023

17 January 2023

9 November 2022

7 November 2022

5 September 2022

3 September 2022

3 May 2022

1 May 2022

  • 06:2906:29, 1 May 2022 diff hist +929 N ExpressionCreated page with "A '''expression''' is a calculation used as a argument or assignment and can be a numerical or string expression. Expressions may include logical operators as well as mathematical operators and functions and are used in various forms in a program. '''Examples of different kind of expressions:''' ''Numerical expressions:'' ('''1000''' is the expression) {{CodeStart}} {{Cl|PRINT}} 1000 {{CodeEnd}} {{OutputStart}} 1000 {{OutputEnd}} ('''1 + 1''' is the express..."
  • 06:1306:13, 1 May 2022 diff hist +642 DIMNo edit summary
  • 06:1206:12, 1 May 2022 diff hist +1,728 N GlViewportCreated page with "'''_glViewport:''' set the viewport {{PageSyntax}} SUB _glViewport (BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL height AS LONG) void '''_glViewport'''(GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei {{Parameter|width}}, GLsizei {{Parameter|height}}); ; x, y : Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0). ; width, height : Specify the width and height of the viewport. When a GL context is fi..."
  • 06:1106:11, 1 May 2022 diff hist +5,897 N GlTexSubImage2DCreated page with "'''_glTexSubImage2D:''' specify a two-dimensional texture subimage {{PageSyntax}} SUB _glTexSubImage2D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL xoffset AS LONG, BYVAL yoffset AS LONG, BYVAL width AS LONG, BYVAL height AS LONG, BYVAL format AS _UNSIGNED LONG, BYVAL type AS _UNSIGNED LONG, pixels AS _OFFSET) void '''_glTexSubImage2D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|xoffset}}, GLint {{Parameter|yoffset}},..."
  • 06:1106:11, 1 May 2022 diff hist +5,044 N GlTexSubImage1DCreated page with "'''_glTexSubImage1D:''' specify a one-dimensional texture subimage {{PageSyntax}} SUB _glTexSubImage1D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL xoffset AS LONG, BYVAL width AS LONG, BYVAL format AS _UNSIGNED LONG, BYVAL type AS _UNSIGNED LONG, pixels AS _OFFSET) void '''_glTexSubImage1D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|xoffset}}, GLsizei {{Parameter|width}}, GLenum {{Parameter|format}}, GLenum {{Parame..."
  • 06:1006:10, 1 May 2022 diff hist +14,731 N GlTexImage2DCreated page with "'''_glTexImage2D:''' specify a two-dimensional texture image {{PageSyntax}} SUB _glTexImage2D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL internalformat AS LONG, BYVAL width AS LONG, BYVAL height AS LONG, BYVAL border AS LONG, BYVAL format AS _UNSIGNED LONG, BYVAL type AS _UNSIGNED LONG, pixels AS _OFFSET) void '''_glTexImage2D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|internalFormat}}, GLsizei {{Parameter|width}}..."
  • 06:1006:10, 1 May 2022 diff hist +11,697 N GlTexImage1DCreated page with "'''_glTexImage1D:''' specify a one-dimensional texture image {{PageSyntax}} SUB _glTexImage1D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL internalformat AS LONG, BYVAL width AS LONG, BYVAL border AS LONG, BYVAL format AS _UNSIGNED LONG, BYVAL type AS _UNSIGNED LONG, pixels AS _OFFSET) void '''_glTexImage1D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|internalFormat}}, GLsizei {{Parameter|width}}, GLint {{Parameter|bo..."
  • 06:0906:09, 1 May 2022 diff hist +5,576 N GlStencilOpCreated page with "'''_glStencilOp:''' set front and back stencil test actions {{PageSyntax}} SUB _glStencilOp (BYVAL fail AS _UNSIGNED LONG, BYVAL zfail AS _UNSIGNED LONG, BYVAL zpass AS _UNSIGNED LONG) void '''_glStencilOp'''(GLenum {{Parameter|sfail}}, GLenum {{Parameter|dpfail}}, GLenum {{Parameter|dppass}}); ; sfail : Specifies the action to take when the stencil test fails. Eight symbolic constants are accepted: {{KW|_GL_KEEP}}, {{KW|_GL_ZERO}}, {{KW|_GL_REPLACE}}, {{KW|_GL_..."
  • 06:0906:09, 1 May 2022 diff hist +5,255 N GlStencilFuncCreated page with "'''_glStencilFunc:''' set front and back function and reference value for stencil testing {{PageSyntax}} SUB _glStencilFunc (BYVAL func AS _UNSIGNED LONG, BYVAL ref AS LONG, BYVAL mask AS _UNSIGNED LONG) void '''_glStencilFunc'''(GLenum {{Parameter|func}}, GLint {{Parameter|ref}}, GLuint {{Parameter|mask}}); ; func : Specifies the test function. Eight symbolic constants are valid: {{KW|_GL_NEVER}}, {{KW|_GL_LESS}}, {{KW|_GL_LEQUAL}}, {{KW|_GL_GREATER}}, {{KW|_GL..."
  • 06:0806:08, 1 May 2022 diff hist +347 N GLRENDERCreated page with "{{DISPLAYTITLE:_GLRENDER}} {{PageSyntax}} :'''_GLRENDER '''''mode'' {{PageParameters}} Mode can be: * _BEHIND - renders OpenGL context behind the software rendering * _ONTOP - renders OpenGL context on the top of the software rendering [default] * _ONLY - renders OpenGL context only ''See also:'' * Hardware images {{PageNavigation}}"
  • 06:0806:08, 1 May 2022 diff hist +10,368 N GlReadPixelsCreated page with "'''_glReadPixels:''' read a block of pixels from the frame buffer {{PageSyntax}} SUB _glReadPixels (BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL height AS LONG, BYVAL format AS _UNSIGNED LONG, BYVAL type AS _UNSIGNED LONG, pixels AS _OFFSET) void '''_glReadPixels'''(GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei {{Parameter|width}}, GLsizei {{Parameter|height}}, GLenum {{Parameter|format}}, GLenum {{Parameter|type}}, GLvoid * {{Parameter|dat..."
  • 06:0706:07, 1 May 2022 diff hist +2,838 N GlReadBufferCreated page with "'''_glReadBuffer:''' select a color buffer source for pixel read operations from the current read framebuffer. {{PageSyntax}} SUB _glReadBuffer (BYVAL mode AS _UNSIGNED LONG) void '''_glReadBuffer'''(GLenum {{Parameter|mode}}); ; mode : Specifies a color buffer. Accepted values are {{KW|_GL_FRONT_LEFT}}, {{KW|_GL_FRONT_RIGHT}}, {{KW|_GL_BACK_LEFT}}, {{KW|_GL_BACK_RIGHT}}, {{KW|_GL_FRONT}}, {{KW|_GL_BACK}}, {{KW|_GL_LEFT}}, {{KW|_GL_RIGHT}}, and the constants {{K..."
  • 06:0706:07, 1 May 2022 diff hist +1,847 N GlPolygonOffsetCreated page with "'''_glPolygonOffset:''' set the scale and units used to calculate depth values {{PageSyntax}} SUB _glPolygonOffset (BYVAL factor AS SINGLE, BYVAL units AS SINGLE) void '''_glPolygonOffset'''(GLfloat {{Parameter|factor}}, GLfloat {{Parameter|units}}); ; factor : Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. ; units : Is multiplied by an implementation-specific value to create a constant depth off..."
  • 06:0606:06, 1 May 2022 diff hist +2,648 N GlPolygonModeCreated page with "'''_glPolygonMode:''' select a polygon rasterization mode {{PageSyntax}} SUB _glPolygonMode (BYVAL face AS _UNSIGNED LONG, BYVAL mode AS _UNSIGNED LONG) void '''_glPolygonMode'''(GLenum {{Parameter|face}}, GLenum {{Parameter|mode}}); ; face : Specifies the polygons that {{Parameter|mode}} applies to. Must be {{KW|_GL_FRONT_AND_BACK}} for front- and back-facing polygons. ; mode : Specifies how polygons will be rasterized. Accepted values are {{KW|_GL_POINT}}, {{K..."
  • 06:0506:05, 1 May 2022 diff hist +1,646 N GlPointSizeCreated page with "'''_glPointSize:''' specify the diameter of rasterized points {{PageSyntax}} SUB _glPointSize (BYVAL size AS SINGLE) void '''_glPointSize'''(GLfloat {{Parameter|size}}); ; size : Specifies the diameter of rasterized points. The initial value is 1. {{PageDescription}} '''_glPointSize''' specifies the rasterized diameter of points. If point size mode is disabled (see {{KW|_glEnable}} with parameter {{KW|_GL_PROGRAM_POINT_SIZE}}), this value will be used to rast..."
  • 06:0406:04, 1 May 2022 diff hist +2,960 N GlLogicOpCreated page with "'''_glLogicOp:''' specify a logical pixel operation for rendering {{PageSyntax}} SUB _glLogicOp (BYVAL opcode AS _UNSIGNED LONG) void '''_glLogicOp'''(GLenum {{Parameter|opcode}}); ; opcode : Specifies a symbolic constant that selects a logical operation. The following symbols are accepted: {{KW|_GL_CLEAR}}, {{KW|_GL_SET}}, {{KW|_GL_COPY}}, {{KW|_GL_COPY_INVERTED}}, {{KW|_GL_NOOP}}, {{KW|_GL_INVERT}}, {{KW|_GL_AND}}, {{KW|_GL_NAND}}, {{KW|_GL_OR}}, {{KW|_GL_NOR}..."
  • 06:0406:04, 1 May 2022 diff hist +3,524 N GlLineWidthCreated page with "'''_glLineWidth:''' specify the width of rasterized lines {{PageSyntax}} SUB _glLineWidth (BYVAL width AS SINGLE) void '''_glLineWidth'''(GLfloat {{Parameter|width}}); ; width : Specifies the width of rasterized lines. The initial value is 1. {{PageDescription}} '''_glLineWidth''' specifies the rasterized width of both aliased and antialiased lines. Using a line width other than 1 has different effects, depending on whether line antialiasing is enabled. To en..."
  • 06:0306:03, 1 May 2022 diff hist +1,039 N GlIsTextureCreated page with "'''_glIsTexture:''' determine if a name corresponds to a texture {{PageSyntax}} FUNCTION _glIsTexture~%% (BYVAL texture AS _UNSIGNED LONG) GLboolean '''_glIsTexture'''(GLuint {{Parameter|texture}}); ; texture : Specifies a value that may be the name of a texture. {{PageDescription}} '''_glIsTexture''' returns {{KW|_GL_TRUE}} if {{Parameter|texture}} is currently the name of a texture. If {{Parameter|texture}} is zero, or is a non-zero value that is not curren..."
  • 06:0306:03, 1 May 2022 diff hist +3,307 N GlIsEnabledCreated page with "'''_glIsEnabled, glIsEnabledi:''' test whether a capability is enabled {{PageSyntax}} FUNCTION _glIsEnabled~%% (BYVAL cap AS _UNSIGNED LONG) GLboolean '''_glIsEnabled'''(GLenum {{Parameter|cap}}); GLboolean '''_glIsEnabledi'''(GLenum {{Parameter|cap}}, GLuint {{Parameter|index}}); ; cap : Specifies a symbolic constant indicating a GL capability. ; index : Specifies the index of the capability. {{PageDescription}} '''_glIsEnabled''' returns {{KW|_GL_TRUE}} i..."
  • 06:0206:02, 1 May 2022 diff hist +3,128 N GlHintCreated page with "'''_glHint:''' specify implementation-specific hints {{PageSyntax}} SUB _glHint (BYVAL target AS _UNSIGNED LONG, BYVAL mode AS _UNSIGNED LONG) void '''_glHint'''(GLenum {{Parameter|target}}, GLenum {{Parameter|mode}}); ; target : Specifies a symbolic constant indicating the behavior to be controlled. {{KW|_GL_LINE_SMOOTH_HINT}}, {{KW|_GL_POLYGON_SMOOTH_HINT}}, {{KW|_GL_TEXTURE_COMPRESSION_HINT}}, and {{KW|_GL_FRAGMENT_SHADER_DERIVATIVE_HINT}} are accepted. ; mod..."
  • 06:0206:02, 1 May 2022 diff hist +7,906 N GlGetTexImageCreated page with "'''_glGetTexImage:''' return a texture image {{PageSyntax}} SUB _glGetTexImage (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL format AS _UNSIGNED LONG, BYVAL type AS _UNSIGNED LONG, pixels AS _OFFSET) void '''_glGetTexImage'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLenum {{Parameter|format}}, GLenum {{Parameter|type}}, GLvoid * {{Parameter|img}}); ; target : Specifies which texture is to be obtained. {{KW|_GL_TEXTURE_1D}}, {{KW|_GL..."
  • 06:0106:01, 1 May 2022 diff hist +3,250 N GlGetStringCreated page with "'''_glGetString:''' return a string describing the current GL connection {{PageSyntax}} FUNCTION _glGetString&& (BYVAL name AS _UNSIGNED LONG) const GLubyte* '''_glGetString'''(GLenum {{Parameter|name}}); const GLubyte* '''_glGetStringi'''(GLenum {{Parameter|name}}, GLuint {{Parameter|index}}); ; name : Specifies a symbolic constant, one of {{KW|_GL_VENDOR}}, {{KW|_GL_RENDERER}}, {{KW|_GL_VERSION}}, or {{KW|_GL_SHADING_LANGUAGE_VERSION}}. Additionally, '''_glG..."
  • 06:0106:01, 1 May 2022 diff hist +3,120 N GlGetErrorCreated page with "'''_glGetError:''' return error information {{PageSyntax}} FUNCTION _glGetError~& GLenum '''_glGetError'''({{Parameter|void}}); {{PageDescription}} '''_glGetError''' returns the value of the error flag. Each detectable error is assigned a numeric code and symbolic name. When an error occurs, the error flag is set to the appropriate error code value. No other errors are recorded until '''_glGetError''' is called, the error code is returned, and the flag is rese..."
  • 06:0006:00, 1 May 2022 diff hist +1,430 N GlGenTexturesCreated page with "'''_glGenTextures:''' generate texture names {{PageSyntax}} SUB _glGenTextures (BYVAL n AS LONG, textures AS _UNSIGNED LONG) void '''_glGenTextures'''(GLsizei {{Parameter|n}}, GLuint * {{Parameter|textures}}); ; n : Specifies the number of texture names to be generated. ; textures : Specifies an array in which the generated texture names are stored. {{PageDescription}} '''_glGenTextures''' returns {{Parameter|n}} texture names in {{Parameter|textures}}. There..."
  • 06:0006:00, 1 May 2022 diff hist +2,007 N GlFrontFaceCreated page with "'''_glFrontFace:''' define front- and back-facing polygons {{PageSyntax}} SUB _glFrontFace (BYVAL mode AS _UNSIGNED LONG) void '''_glFrontFace'''(GLenum {{Parameter|mode}}); ; mode : Specifies the orientation of front-facing polygons. {{KW|_GL_CW}} and {{KW|_GL_CCW}} are accepted. The initial value is {{KW|_GL_CCW}}. {{PageDescription}} In a scene composed entirely of opaque closed surfaces, back-facing polygons are never visible. Eliminating these invisible..."
  • 06:0006:00, 1 May 2022 diff hist +1,297 N GlFlushCreated page with "'''_glFlush:''' force execution of GL commands in finite time {{PageSyntax}} SUB _glFlush void '''_glFlush'''({{Parameter|void}}); {{PageDescription}} Different GL implementations buffer commands in several different locations, including network buffers and the graphics accelerator itself. '''_glFlush''' empties all of these buffers, causing all issued commands to be executed as quickly as they are accepted by the actual rendering engine. Though this execution..."
  • 05:5905:59, 1 May 2022 diff hist +792 N GlFinishCreated page with "'''_glFinish:''' block until all GL execution is complete {{PageSyntax}} SUB _glFinish void '''_glFinish'''({{Parameter|void}}); {{PageDescription}} '''_glFinish''' does not return until the effects of all previously called GL commands are complete. Such effects include all changes to GL state, all changes to connection state, and all changes to the frame buffer contents. {{PageNotes}} '''_glFinish''' requires a round trip to the server. {{PageSeeAlso}}..."

30 April 2022

  • 18:5318:53, 30 April 2022 diff hist +10,301 N GlEnableCreated page with "'''_glEnable:''' enable or disable server-side GL capabilities {{PageSyntax}} SUB _glEnable (BYVAL cap AS _UNSIGNED LONG) void '''_glEnable'''(GLenum {{Parameter|cap}}); SUB _glDisable (BYVAL cap AS _UNSIGNED LONG) void '''_glDisable'''(GLenum {{Parameter|cap}}); ; cap : Specifies a symbolic constant indicating a GL capability. {{PageSyntax}} | name = glEnablei, glDisablei | core = 3.0 }} void '''_glEnablei'''(GLenum {{Parameter|cap}}, GLuint {{Param..."
  • 18:5218:52, 30 April 2022 diff hist +3,321 N GlDrawElementsCreated page with "'''_glDrawElements:''' render primitives from array data {{PageSyntax}} : SUB _glDrawElements (BYVAL mode AS _UNSIGNED LONG, BYVAL count AS LONG, BYVAL type AS _UNSIGNED LONG, indices AS _OFFSET) : void '''_glDrawElements'''(GLenum {{Parameter|mode}}, GLsizei {{Parameter|count}}, GLenum {{Parameter|type}}, const GLvoid * {{Parameter|indices}}); ; mode : Specifies what kind of primitives to render. Symbolic constants {{KW|_GL_POINTS}}, {{KW|_GL_LINE_STRIP}}, {{KW|_..."
  • 18:5218:52, 30 April 2022 diff hist +2,689 N GlDrawArraysCreated page with "'''_glDrawArrays:''' render primitives from array data {{PageSyntax}} :: SUB _glDrawArrays (BYVAL mode AS _UNSIGNED LONG, BYVAL first AS LONG, BYVAL count AS LONG) :: void '''_glDrawArrays'''(GLenum {{Parameter|mode}}, GLint {{Parameter|first}}, GLsizei {{Parameter|count}}); ; mode : Specifies what kind of primitives to render. Symbolic constants {{KW|_GL_POINTS}}, {{KW|_GL_LINE_STRIP}}, {{KW|_GL_LINE_LOOP}}, {{KW|_GL_LINES}}, {{KW|_GL_LINE_STRIP_ADJACENCY}}, {{KW..."
  • 18:5118:51, 30 April 2022 diff hist +1,925 N GlDepthRangeCreated page with "'''_glDepthRange:''' specify mapping of depth values from normalized device coordinates to window coordinates {{PageSyntax}} :: SUB _glDepthRange (BYVAL zNear AS DOUBLE, BYVAL zFar AS DOUBLE) :: void '''_glDepthRange'''(GLdouble {{Parameter|nearVal}}, GLdouble {{Parameter|farVal}}); :: void '''_glDepthRangef'''(GLfloat {{Parameter|nearVal}}, GLfloat {{Parameter|farVal}}); ; nearVal : Specifies the mapping of the near clipping plane to window coordinates. The init..."
  • 18:5018:50, 30 April 2022 diff hist +2,387 N GlDepthFuncCreated page with "'''_glDepthFunc:''' specify the value used for depth buffer comparisons {{PageSyntax}} :: SUB _glDepthFunc (BYVAL func AS _UNSIGNED LONG) :: void '''_glDepthFunc'''(GLenum {{Parameter|func}}); ; func : Specifies the depth comparison function. Symbolic constants {{KW|_GL_NEVER}}, {{KW|_GL_LESS}}, {{KW|_GL_EQUAL}}, {{KW|_GL_LEQUAL}}, {{KW|_GL_GREATER}}, {{KW|_GL_NOTEQUAL}}, {{KW|_GL_GEQUAL}}, and {{KW|_GL_ALWAYS}} are accepted. The initial value is {{KW|_GL_LESS}}...."
  • 18:5018:50, 30 April 2022 diff hist +1,070 N GlDeleteTexturesCreated page with "'''_glDeleteTextures:''' delete named textures {{PageSyntax}} : SUB _glDeleteTextures (BYVAL n AS LONG, textures AS _UNSIGNED LONG) : void '''_glDeleteTextures'''(GLsizei {{Parameter|n}}, const GLuint * {{Parameter|textures}}); ; n : Specifies the number of textures to be deleted. ; textures : Specifies an array of textures to be deleted. {{PageDescription}} '''_glDeleteTextures''' deletes {{Parameter|n}} textures named by the elements of the array {{Parameter..."
  • 18:4918:49, 30 April 2022 diff hist +1,450 N GlCullFaceCreated page with "'''_glCullFace:''' specify whether front- or back-facing facets can be culled {{PageSyntax}} ::SUB '''_glCullFace''' (BYVAL mode AS _UNSIGNED LONG) :: void '''_glCullFace'''(GLenum {{Parameter|mode}}); ; mode : Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants {{KW|_GL_FRONT}}, {{KW|_GL_BACK}}, and {{KW|_GL_FRONT_AND_BACK}} are accepted. The initial value is {{KW|_GL_BACK}}. {{PageDescription}} '''_glCullFace''' specifi..."
  • 18:4918:49, 30 April 2022 diff hist +4,669 N GlCopyTexSubImage2DCreated page with "'''_glCopyTexSubImage2D:''' copy a two-dimensional texture subimage {{PageSyntax}} : SUB _glCopyTexSubImage2D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL xoffset AS LONG, BYVAL yoffset AS LONG, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL height AS LONG) : void '''_glCopyTexSubImage2D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|xoffset}}, GLint {{Parameter|yoffset}}, GLint {{Parameter|x}}, GLint {{Par..."
  • 18:4818:48, 30 April 2022 diff hist +3,264 N GlCopyTexSubImage1DCreated page with "'''_glCopyTexSubImage1D:''' copy a one-dimensional texture subimage {{PageSyntax}} : SUB _glCopyTexSubImage1D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL xoffset AS LONG, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG) : void '''_glCopyTexSubImage1D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|xoffset}}, GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei {{Parameter|width}}); ; target : Specifies the targe..."
  • 18:4818:48, 30 April 2022 diff hist +5,020 N GlCopyTexImage2DCreated page with "'''_glCopyTexImage2D:''' copy pixels into a 2D texture image {{PageSyntax}} : SUB _glCopyTexImage2D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL internalFormat AS _UNSIGNED LONG, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL height AS LONG, BYVAL border AS LONG) : void '''_glCopyTexImage2D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLenum {{Parameter|internalformat}}, GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei..."
  • 18:4718:47, 30 April 2022 diff hist +4,440 N GlCopyTexImage1DCreated page with "'''_glCopyTexImage1D:''' copy pixels into a 1D texture image {{PageSyntax}} : SUB _glCopyTexImage1D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL internalFormat AS _UNSIGNED LONG, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL border AS LONG) : void '''_glCopyTexImage1D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLenum {{Parameter|internalformat}}, GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei {{Parameter|width}},..."
  • 06:1106:11, 30 April 2022 diff hist +2,099 N GlScissorCreated page with "'''_glScissor:''' define the scissor box {{PageSyntax}} SUB _glScissor (BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL height AS LONG) void '''_glScissor'''(GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei {{Parameter|width}}, GLsizei {{Parameter|height}}); ; x, y : Specify the lower left corner of the scissor box. Initially (0, 0). ; width, height : Specify the width and height of the scissor box. When a GL context is first attached to a wind..."
  • 06:1106:11, 30 April 2022 diff hist +3,175 N GlDrawBufferCreated page with "'''_glDrawBuffer:''' specify which color buffers are to be drawn into {{PageSyntax}} :: SUB _glDrawBuffer (BYVAL mode AS _UNSIGNED LONG) :: void '''_glDrawBuffer'''(GLenum {{Parameter|mode}}); ; mode : Specifies up to four color buffers to be drawn into. Symbolic constants {{KW|_GL_NONE}}, {{KW|_GL_FRONT_LEFT}}, {{KW|_GL_FRONT_RIGHT}}, {{KW|_GL_BACK_LEFT}}, {{KW|_GL_BACK_RIGHT}}, {{KW|_GL_FRONT}}, {{KW|_GL_BACK}}, {{KW|_GL_LEFT}}, {{KW|_GL_RIGHT}}, and {{KW|_GL_FR..."
  • 06:1006:10, 30 April 2022 diff hist +1,921 N GlStencilMaskCreated page with "'''_glStencilMask:''' control the front and back writing of individual bits in the stencil planes {{PageSyntax}} SUB _glStencilMask (BYVAL mask AS _UNSIGNED LONG) void '''_glStencilMask'''(GLuint {{Parameter|mask}}); ; mask : Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. {{PageDescription}} '''_glStencilMask''' controls the writing of individual bits in the stencil planes. The leas..."
  • 06:0906:09, 30 April 2022 diff hist +1,188 N GlDepthMaskCreated page with "'''_glDepthMask:''' enable or disable writing into the depth buffer {{PageSyntax}} :: SUB _glDepthMask (BYVAL flag AS _UNSIGNED _BYTE) :: void '''_glDepthMask'''(GLboolean {{Parameter|flag}}); ; flag : Specifies whether the depth buffer is enabled for writing. If {{Parameter|flag}} is {{KW|_GL_FALSE}}, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. {{PageDescription}} '''_glDepthMask''' specifies whether..."
  • 06:0906:09, 30 April 2022 diff hist +1,840 N GlColorMaskCreated page with "'''_glColorMask, glColorMaski:''' enable and disable writing of frame buffer color components {{PageSyntax}} :: SUB _glColorMask (BYVAL red AS _UNSIGNED _BYTE, BYVAL green AS _UNSIGNED _BYTE, BYVAL blue AS _UNSIGNED _BYTE, BYVAL alpha AS _UNSIGNED _BYTE) :: void '''_glColorMask'''(GLboolean {{Parameter|red}}, GLboolean {{Parameter|green}}, GLboolean {{Parameter|blue}}, GLboolean {{Parameter|alpha}}); :: void '''_glColorMaski'''(GLuint {{Parameter|buf}}, GLboolean {..."
  • 06:0906:09, 30 April 2022 diff hist +712 N GlClearStencilCreated page with "'''_glClearStencil:''' specify the clear value for the stencil buffer {{PageSyntax}} :: SUB _glClearStencil (BYVAL s AS LONG) :: void '''_glClearStencil'''(GLint {{Parameter|s}}); ; s : Specifies the index used when the stencil buffer is cleared. The initial value is 0. {{PageDescription}} '''_glClearStencil''' specifies the index used by {{KW|_glClear}} to clear the stencil buffer. {{Parameter|s}} is masked with 2<sup>m</sup> - 1, where m is the nu..."
  • 06:0806:08, 30 April 2022 diff hist +906 N GlClearDepthCreated page with "'''_glClearDepth:''' specify the clear value for the depth buffer {{PageSyntax}} :: SUB _glClearDepth (BYVAL depth AS DOUBLE) :: void '''_glClearDepth'''(GLdouble {{Parameter|depth}}); :: void '''_glClearDepthf'''(GLfloat {{Parameter|depth}}); ; depth : Specifies the depth value used when the depth buffer is cleared. The initial value is 1. {{PageDescription}} '''_glClearDepth''' specifies the depth value used by {{KW|_glClear}} to clear the depth buffer. Values s..."
  • 06:0806:08, 30 April 2022 diff hist +985 N GlClearColorCreated page with "'''_glClearColor:''' specify clear values for the color buffers {{PageSyntax}} :: SUB '''_glClearColor''' (BYVAL red AS SINGLE, BYVAL green AS SINGLE, BYVAL blue AS SINGLE, BYVAL alpha AS SINGLE) :: void '''_glClearColor'''(GLfloat {{Parameter|red}}, GLfloat {{Parameter|green}}, GLfloat {{Parameter|blue}}, GLfloat {{Parameter|alpha}}); ; red, green, blue, alpha : Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial valu..."
  • 06:0706:07, 30 April 2022 diff hist +1,847 N GLCreated page with "{{DISPLAYTITLE:_GL}} In order to use OpenGL drawing commands, you must do so from inside a SUB procedure called '''_GL''', which enables the commands to be rendered. {{PageSyntax}} :SUB _GL :: ''REM Your OpenGL code here : END SUB {{PageDescription}} * OpenGL commands are valid outside of '''SUB _GL''', as long as the sub procedure exists in your code. * Attempting to use OpenGL commands without having '''SUB _GL''' in a program will result in a '''Syn..."
  • 06:0606:06, 30 April 2022 diff hist +2,101 N GlClearCreated page with "'''_glClear:''' clear buffers to preset values {{PageSyntax}} :: SUB _glClear (BYVAL mask AS _UNSIGNED LONG) :: void '''_glClear'''(GLbitfield {{Parameter|mask}}); {{PageParameters}} * ''mask'' that indicate the buffer OR buffers to be cleared. The three masks are _GL_COLOR_BUFFER_BIT, _GL_DEPTH_BUFFER_BIT, and _GL_STENCIL_BUFFER_BIT. {{PageDescription}} * _glClear sets the bitplane area of the window to values previously sele..."
  • 06:0506:05, 30 April 2022 diff hist +4,931 N GlBindTextureCreated page with "'''_glBindTexture:''' bind a named texture to a texturing target {{PageSyntax}} :: SUB '''_glBindTexture''' (BYVAL target AS _UNSIGNED LONG, BYVAL texture AS _UNSIGNED LONG) :: void '''_glBindTexture'''(GLenum {{Parameter|target}}, GLuint {{Parameter|texture}}); ; target : Specifies the target to which the texture is bound. Must be either {{KW|_GL_TEXTURE_1D}}, {{KW|_GL_TEXTURE_2D}}, {{KW|_GL_TEXTURE_3D}}, or {{KW|_GL_TEXTURE_1D_ARRAY}}, {{KW|_GL_TEXTURE_2D_ARRAY}},..."

28 April 2022

27 April 2022

22 April 2022

21 April 2022

  • 00:4100:41, 21 April 2022 diff hist +25 N ISRedirected page to SELECT CASE current Tags: New redirect visualeditor
  • 00:3000:30, 21 April 2022 diff hist +9,315 N ScancodesCreated page with "'''This page is maintained for historic purposes. The functionality of the code below can now be achieved through the _KEYDOWN function.''' ---- '''Scancodes''' are the return values of keyboard input that can be read using INP to find key presses and '''releases''', unlike the ASCII codes returned using INKEY$. {{PageSyntax}} : {{Parameter|scanCode%}} = INP(&H60) {{PageDescription}} * Used to find '''[Ctrl], [Alt], [Shift], [Caps Lock], [Scroll..."
  • 00:2900:29, 21 April 2022 diff hist +1,498 N ParameterCreated page with "Optional '''parameters''' are values passed to SUB and FUNCTION procedures. They are always enclosed in parenthesis inside the procedures. {{PageSyntax}} ::: SUB SubName['''(''parameter''''' [{{KW|AS}} Type][''', ...''']''')'''] ::: FUNCTION FunctionName['''(''parameter''''' [{{KW|AS}} Type][''', ...''']''')'''] ::: CALL SubName['''(''parameter'''''[''', ...''']''')'''] ::: SubName ['''''parameter'''''][''', ......"
  • 00:2800:28, 21 April 2022 diff hist +27,472 N DEF SEG = 0Created page with "The following '''DOS BIOS''' information can be used on Windows 9x machines. Not necessarily XP or NT! Each routine includes the hexadecimal and decimal registers. :'''NOTE: Few of these addresses are currenly accessable in QB64! Some may never be due to OS changes.''' ::::::'''DEF SEG = 0 LOW MEMORY PORT ADDRESSES''' ::::::===================================== :::::'''PORT # | FUNCTION, DESCRIPTION OR COMMENTS FOR USE''' :::::======================================..." Tag: visualeditor-switched
  • 00:0400:04, 21 April 2022 diff hist +28,881 N SQL ClientCreated page with "'''MySQL''' is a database manager that is widely used on the internet with languages such as PHP. This is a DECLARE LIBRARY to allow access to MySQL databases. <center>'''IMPORTANT'''</center> :::::::* 1) Make sure you are running QB64 V0.942 or higher :::::::* 2) Download 'mysql.dll' and place it in your qb64 folder (not provided) :::::::* 3) Create 'mysql_helper.h' in your QB64 folder (see below) :::::::* 4) Run & enjoy browsing our sample database as a member with re..."
  • 00:0400:04, 21 April 2022 diff hist +16,152 N Windows Registry AccessCreated page with "The following procedure demonstrates how Registry information can be altered by disabling and re-enabling the Autorun/Autoplay for the current user. It then reads the Registry to list some of the programs that auto start for all users. {{small|Code courtesy of Michael Calkins}} <center>'''{{text|WARNING! Use care when editing or altering Registry settings! YOU will be responsible for any damages incurred!|red}}'''</center> {{CodeStart}} '' '' ' winreg.h {{Cl|CONST}}..."
  • 00:0300:03, 21 April 2022 diff hist +9,708 N SFML LibraryCreated page with "'''SFML''' is a sound library that allows users to record and play sounds. <center>[http://dl.dropbox.com/u/8822351/SFML.rar SFML.RAR Download(Includes Library header file)]</center> {{TextStart}} '' '' //SFML_Wrapper02.h for QB64 version.02 - By John Onyon a.k.a Unseen Machine <nowiki> #include <SFML/Graphics.hpp> #include <SFML/Window.hpp> #include <SFML/Audio.hpp> #include <SFML/System.hpp> </nowiki> sf::RenderWindow App; sf::Color BackgroundColor = sf::Color(0,0,..."
  • 00:0300:03, 21 April 2022 diff hist +2,814 N PEEK and POKE LibraryCreated page with "This header allows you to peek and poke bytes, words, and dwords in QB64. The functions seem to work okay when used with signed variables also. For example, I am able to assign the return of peekw~% to an INTEGER without problem. Regards, Michael Calkins Create ''PeekPoke.h'' text file in the QB64 folder: {{TextStart}} /* peek and poke for bytes, words, and dwords in qb64 public domain, sept 2011, michael calkins http://www.network54.com/Forum/648955/message/131595..."
  • 00:0200:02, 21 April 2022 diff hist +349 N Less Than Or EqualCreated page with "The '''<=''' condition symbol denotes that a value must be less than or equal to another value for the condition to be True. ''Example usage:'' IF x <= 320 THEN PRINT "Left or center of screen" ''See also:'' * = * <> * >= * Relational Operations {{PageNavigation}}"
  • 00:0100:01, 21 April 2022 diff hist +343 N Greater Than Or EqualCreated page with "The '''>=''' condition symbol denotes that a value must be greater than or equal to another value for the condition to be True. ''Example usage:'' IF x > 320 THEN PRINT "Right or center of screen" ''See also:'' * = * <> * <= * Relational Operations {{PageNavigation}}"
  • 00:0100:01, 21 April 2022 diff hist +554 N Less ThanCreated page with "The '''<''' condition symbol denotes that a value must be less than another value for the condition to be True. ''Example usage:'' IF x < 320 THEN PRINT "Left of screen" * Statements will evaluate as True or -1 when the first value is less or False or 0 when the first value is equal or greater. * More than one < symbol in a numerical statement will create a Boolean evaluation of the ensuing numerical value. ''See also:'' * = * Not_E..."
  • 00:0100:01, 21 April 2022 diff hist +558 N Greater ThanCreated page with "The '''>''' condition symbol denotes that a value must be greater than another value for the condition to be True. ''Example usage:'' IF x > 320 THEN PRINT "Right of screen" * Statements will evaluate as True or -1 when the first value is greater or False or 0 when equal or the first value is less. * More than one > symbol in a numerical statement will create a Boolean evaluation of the ensuing numerical value. ''See also:'' * = *..."
  • 00:0000:00, 21 April 2022 diff hist +533 N Not EqualCreated page with "The '''<>''' condition symbol denotes that a value must not equal another value for the condition to be True. ''Example usage:'' IF x <> 320 THEN PRINT "Not in center of screen" * Statements will evaluate as True or -1 when two values are not equal or False or 0 when equal. * More than one <> symbol in a numerical statement will create a Boolean evaluation of the ensuing numerical pairs. ''See also:'' * = * > * Less..."

20 April 2022

  • 23:4723:47, 20 April 2022 diff hist +1,224 N EqualCreated page with " View source for Equal ← Equal Jump to navigationJump to search You do not have permission to edit this page, for the following reason: The action you have requested is limited to users in the group: Users. You can view and copy the source of this page. The '''=''' condition symbol denotes that a value must equal another value for the condition to be True. ''Example usage:'' IF x = 320 THEN PRINT "Center of screen" * Statements will evaluate as True or -1 w..."
  • 23:4623:46, 20 April 2022 diff hist +1,735 N ^Created page with "The '''^''' operation raises a numerical value to an exponential value expressing how many times the value is multiplied by itself. {{PageSyntax}} ::'' return_value = number '''^''' {whole_exponent|(fractional_exponent)} {{PageDescription}} * The number value can be any type literal or variable numerical value. * Exponents can be any positive or negative integer or fractional numerical value inside of parenthesis brackets. * If the exponent is zero, the value return..."
  • 23:4623:46, 20 April 2022 diff hist +1,281 N \Created page with "The '''\''' mathematical operator performs INTEGER division on a numerical value. {{PageSyntax}} ::: return_value = number '''\''' divisor {{PageDescription}} * Number value can be any literal or variable numerical type. * '''Divisor (second value) must not be a value of 0 to .5'''. This will create a "Division by zero" error! due to CINT rounding. * Return values will be INTEGER or LONG value types only. * Rounding is done to the..."
  • 23:4423:44, 20 April 2022 diff hist +1,061 N /Created page with "The '''/''' mathematical operator performs decimal point division on a numerical value. {{PageSyntax}} ::: return_value = number '''/''' divisor {{PageDescription}} * Number value can be any literal or variable numerical type. * '''Divisor (second value) must not be a value of 0 to .5'''. This will create a "Division by zero" error! due to CINT rounding. * Return values can be any literal or variable numerical type, but SINGLE or DOUBLE..."
  • 23:4423:44, 20 April 2022 diff hist +648 N *Created page with "The '''*''' mathematical operator performs the multiplication of two values. ''Syntax:'' return_value = number1 * number2 {{PageDescription}} * Multiplication can use any two literal or variable numerical type values. * Multiplication of two negative numbers returns a positive result. One negative number will always return a negative value. * Return values may exceed certain numerical variable type limits creating an "Overflow" error. * Division and..."
  • 21:5621:56, 20 April 2022 diff hist +60 NegationNo edit summary
  • 21:5421:54, 20 April 2022 diff hist +319 N NegationCreated page with "'Negation is the process of changing the sign of a positive number to negative. Usage: number% = -number% Negation can be performed by adding a negative (- minus) sign to a number or by multiplying or dividing a number by any negative value. If a negative value is negated, the value of the number becomes positive."
  • 21:5321:53, 20 April 2022 diff hist +704 N -Created page with "The '''-''' mathematical operator performs subtraction on two numerical values or negates a single value. ''Syntax:'' return_value = number1 - number2 {{PageDescription}} * Numbers used can be any literal or variable numerical value type. * Subtracting a negative value will actually perform addition with the other value. * Subtracting a negative or negated value will make the return value more positive. * Addition and subtraction are th..."
  • 21:5121:51, 20 April 2022 diff hist +4,352 N MODCreated page with "The MOD operator gives the remainder after division of one number by another (sometimes called modulus). {{PageSyntax}} : {{Parameter|remainder}} = {{Parameter|numerator}} MOD {{Parameter|divisor}} {{Parameters}} * Returns the integer division remainder as a whole INTEGER, LONG or _INTEGER64 value. * {{Parameter|numerator}} is the INTEGER value to divide. * {{Parameter|divisor}} is the INTEGER value to divide by. {{PageDescription}} * F..."
  • 21:5121:51, 20 April 2022 diff hist +978 N MKDIRCreated page with "The MKDIR statement creates a new folder ('''dir'''ectory) at a specified path. {{PageSyntax}} : MKDIR pathSpec$ {{PageDescription}} * The path specification (pathSpec$) is a literal or variable STRING expression that also specifies the new folder's name. * If no path is given the directory will become a sub-directory of the present directory where the program is currently running. * '''QB64''' can use both long or short path and file names with spaces wh..."
  • 21:5021:50, 20 April 2022 diff hist +4,040 N MID$Created page with "The MID$ function returns a portion of a string. {{PageSyntax}} : {{Parameter|portion$}} = MID$({{Parameter|stringValue$}}, {{Parameter|startPosition%}}[, {{Parameter|bytes%}}]) {{Parameters}} * {{Parameter|stringValue$}} can be any literal or variable non-empty STRING value. Use LEN to check the length of a string. * {{Parameter|startPosition%}} designates the non-zero position of the first character to be returned by the function. * {{Par..."
  • 21:5021:50, 20 April 2022 diff hist +9,782 N OUTPUTCreated page with "The OPEN statement is used to open a file or COM serial communications port for program input or output. {{PageSyntax}} : OPEN {{Parameter|fileName$}} ['''FOR''' {{Parameter|mode}}] [{{{KW|ACCESS}}|{{{KW|LOCK}}|SHARED}} [{READ|WRITE}] AS [#]{{Parameter|fileNumber&}} [LEN = {{Parameter|recordLength}}] ===Legacy ''GW-BASIC'' syntax=== : OPEN {{Parameter|modeLetter$}}, [#]{{Parameter|fileNumber&}}, {{Parameter|fileName$}}[, {{Parameter|recor..."
  • 21:4921:49, 20 April 2022 diff hist +1,711 N PALETTE USINGCreated page with "The PALETTE USING statement sets all RGB screen color intensities using values from an array. {{PageSyntax}} : PALETTE USING array%({{Parameter|startIndex%}}) {{PageDescription}} * The array holds the RGB color value using the color value as {{InlineCode}}{{Parameter|red%}} + 256 * {{Parameter|green%}} + 65536 * {{Parameter|blue%}}{{InlineCodeEnd}}. ** Color intensities range from 0 to 63. * {{Parameter|startIndex%}} indicates the index..."
  • 21:4921:49, 20 April 2022 diff hist +2,069 N PALETTECreated page with "The PALETTE statement can swap color settings, set colors to default or set the red, green and blue color components of palette colors. {{PageSyntax}} : PALETTE [{{Parameter|attribute%}}, ''red%'' + (''green%'' * 256) + (''blue%'' * 65536)] : PALETTE [{{Parameter|existingAttribute%}}, {{Parameter|newAttribute%}}] {{PageDescription}} * {{Parameter|red%}}, {{Parameter|green%}} and {{Parameter|blue%}} values can range from 0 to 63. Many color shades are po..."
  • 21:4921:49, 20 April 2022 diff hist +6,138 N PAINTCreated page with "The PAINT statement is used to fill a delimited area in a graphic screen mode with color. {{PageSyntax}} : PAINT ['''STEP'''] ({{Parameter|column%}}, {{Parameter|row%}}), {{Parameter|fillColor}}[, {{Parameter|borderColor%}}] {{Parameters}} * Can use the STEP keyword for relative coordinate placements. See example 1 below. * {{Parameter|fillColor}} is an INTEGER or LONG 32-bit value to paint the inside of an object. Colors are limited to the SCRE..."
  • 21:4821:48, 20 April 2022 diff hist +1,814 N PRINT USING (file statement)Created page with "The '''PRINT #, USING''' statement is used to PRINT formatted text data to a file. {{PageSyntax}} :: '''PRINT ''filenumber%,''''' [''text$''{;|,}] '''USING ''template$''; ''variable'''''[; ...][{;|,}] {{Parameters}} * INTEGER ''filenumber'' refers to the file number OPENed previously followed by a comma. * Literal or variable STRING ''text$'' can be placed between PRINT and USING or it can be included in the ''template''. * A semicolon or c..."
  • 21:4721:47, 20 April 2022 diff hist +5,486 N SWAPCreated page with "The {{KW|SWAP}} statement is used to exchange two variable or array element values. {{PageSyntax}} :{{KW|SWAP}} {{Parameter|variable1}}, {{Parameter|variable2}} {{PageDescription}} * {{Parameter|variable1}} and {{Parameter|variable2}} are any type variables whose values will be exchanged. * If either {{Parameter|variable1}} or {{Parameter|variable2}} is an array, then an element in the array must be designated. * {{KW|SWAP}} can be used with string or number variabl..."
  • 21:4721:47, 20 April 2022 diff hist +1,623 N STRIG(n)Created page with "The {{KW|STRIG(n)}} statement controls event trapping for a particular joystick or game pad device button. {{PageSyntax}} ::STRIG({{Parameter|button%}}) {ON|OFF|STOP} QB64 {{PageSyntax}} ::STRIG[(''button_function%''[, ''device_number%''])] {ON|OFF|STOP} {{PageDescription}} * {{Parameter|button function}} specifies the device's button function. Even functions record events while odd ones read the actual presses. * '''QB64''' can designate a button function and cont..."
  • 21:4621:46, 20 April 2022 diff hist +1,784 N STRING$Created page with "The {{KW|STRING$}} function returns a {{KW|STRING}} consisting of a single character repeated a number of times. {{PageSyntax}} : result$ = STRING$(''count&'', {''character$'' | ''ASCIIcode%''} ) {{PageDescription}} <!-- Stylin --> * {{Parameter|count&}} is the number of times the character specified by {{Parameter|character}} is repeated. * Character is a literal string character, a string variable or an ASCII code number. * If {{Parameter|count&}} is negative,..."
  • 21:4621:46, 20 April 2022 diff hist +3,734 N STRIGCreated page with "The '''STRIG''' function returns button press True or False status of game port (&H201) or USB joystick control device(s). {{PageSyntax}} :: IF STRIG(button_function%) THEN ... QB64 {{PageSyntax}} :: IF STRIG(''button_function%''[, ''device_number%'']) THEN ... ''Description:'' * Function returns -1 when a button event(even functions) has occurred or a button is pressed(odd functions). * STRIG will not read keyboard or mouse buttons detected by _DEVICES. * The..."
(newest | oldest) View (newer 100 | ) (20 | 50 | 100 | 250 | 500)