GlAccum: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:_glAccum}} The _glAccum statement operates on the accumulation buffer. {{PageSyntax}} ;QB64 definition :SUB _glAccum (BYVAL op AS _UNSIGNED LONG, BYVAL value AS SINGLE) ;C/C++ definition & description :See [https://docs.microsoft.com/en-us/windows/win32/opengl/glaccum Microsoft docs] {{PageSeeAlso}} SUB _GL")
 
No edit summary
Line 4: Line 4:


{{PageSyntax}}
{{PageSyntax}}
;QB64 definition
: [[SUB]] [[_glAccum]] ({{Parameter|op}} [[AS]] [[_UNSIGNED]] [[LONG]], {{Parameter|value}} [[AS]] [[SINGLE]])
:SUB _glAccum (BYVAL op AS _UNSIGNED LONG, BYVAL value AS SINGLE)
 
;C/C++ definition & description
 
:See [https://docs.microsoft.com/en-us/windows/win32/opengl/glaccum Microsoft docs]
{{PageParameters}}
* OpenGL has many predefined attributes and values, which are used with its command parameters. These are detailed in the respective description.
 
 
{{PageDescription}}
* The syntax above shall just clarify the type of the command ([[SUB]] or [[FUNCTION]]) and the correct QB64 [[Variable Types]] to use for the respective parameters.
* The full description can be found at [https://docs.microsoft.com/en-us/windows/win32/opengl/glaccum Microsoft Docs] and is also valid for QB64.




{{PageSeeAlso}}
{{PageSeeAlso}}
[[_GL|SUB _GL]]
[[_GL|SUB _GL]]

Revision as of 22:19, 10 July 2022

The _glAccum statement operates on the accumulation buffer.


Syntax

SUB _glAccum (op AS _UNSIGNED LONG, value AS SINGLE)


Parameters

  • OpenGL has many predefined attributes and values, which are used with its command parameters. These are detailed in the respective description.


Description

  • The syntax above shall just clarify the type of the command (SUB or FUNCTION) and the correct QB64 Variable Types to use for the respective parameters.
  • The full description can be found at Microsoft Docs and is also valid for QB64.


See also

SUB _GL