mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 12:04:06 +00:00
aeb9c0668b
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
57 lines
1.7 KiB
Text
57 lines
1.7 KiB
Text
{{QBDLDATE:05-20-2022}}
|
|
{{QBDLTIME:23:21:51}}
|
|
'''_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 rasterize points. Otherwise, the value written to the shading language built-in variable {{code|gl_PointSize}} will be used.
|
|
|
|
|
|
{{PageNotes}}
|
|
|
|
The point size specified by '''_glPointSize''' is always returned when {{KW|_GL_POINT_SIZE}} is queried. Clamping and rounding for points have no effect on the specified value.
|
|
|
|
|
|
{{PageErrors}}
|
|
|
|
{{KW|_GL_INVALID_VALUE}} is generated if {{Parameter|size}} is less than or equal to 0.
|
|
|
|
|
|
{{PageUseWith}}
|
|
|
|
{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE_RANGE}}
|
|
|
|
{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE_GRANULARITY}}
|
|
|
|
{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE}}
|
|
|
|
{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE_MIN}}
|
|
|
|
{{KW|_glGet}} with argument {{KW|_GL_POINT_SIZE_MAX}}
|
|
|
|
{{KW|_glGet}} with argument {{KW|_GL_POINT_FADE_THRESHOLD_SIZE}}
|
|
|
|
{{KW|_glIsEnabled}} with argument {{KW|_GL_PROGRAM_POINT_SIZE}}
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
|
|
[[_GL|SUB _GL]]
|
|
{{KW|_glEnable|(GL_PROGRAM_POINT_SIZE)}}, {{KW|_glPointParameter}}
|
|
|
|
|
|
{{PageCopyright}}
|
|
|
|
Copyright 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see [http://oss.sgi.com/projects/FreeB/ http://oss.sgi.com/projects/FreeB/].
|
|
|