1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-20 19:45:15 +00:00
qb64/internal/help/_glPointSize.txt
Luke Ceddia b586eafd3b Integrated _BLINEINPUT into regular LINE INPUT for BINARY files
LINE INPUT will now use the faster method if passed a file handle
that has been opened FOR BINARY. As such, the _BLINEINPUT command
has been removed.

qb64.bas now takes advantage of this for reading from '$include files,
at least in Include Manager 1. Some tweaking of internal/source/main.txt
was required to get things into a sane state, so I'm holing off changing
the compiler any further so the auto-builder can make sure everything's
smoothed over.

Note: Everything should still compile as normal; I'm just being overcautious.
2014-07-27 00:06:17 +10:00

54 lines
1.6 KiB
Plaintext

'''_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}}
{{KW|_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/].