GlPointSize

From QB64 Phoenix Edition Wiki
Revision as of 06:05, 1 May 2022 by SMcNeill (talk | contribs) (Created 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

_glPointSize: specify the diameter of rasterized points


Syntax

 SUB _glPointSize (BYVAL size AS SINGLE)
 void _glPointSize(GLfloat size);


size
Specifies the diameter of rasterized points. The initial value is 1.


Description

_glPointSize specifies the rasterized diameter of points. If point size mode is disabled (see Template:KW with parameter Template:KW), this value will be used to rasterize points. Otherwise, the value written to the shading language built-in variable Template:Code will be used.


Template:PageNotes

The point size specified by _glPointSize is always returned when Template:KW is queried. Clamping and rounding for points have no effect on the specified value.


Template:PageErrors

Template:KW is generated if size is less than or equal to 0.


Template:PageUseWith

Template:KW with argument Template:KW

Template:KW with argument Template:KW

Template:KW with argument Template:KW

Template:KW with argument Template:KW

Template:KW with argument Template:KW

Template:KW with argument Template:KW

Template:KW with argument Template:KW


See also

SUB _GL Template:KW, Template:KW


Template: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/.