Gl.Vertexfv (gb.opengl)
Static Sub Vertexfv ( Coords As Float[] )
Specify a vertex.
Parameters
- x, y, z, w
-
Specify x, y, z, and w coordinates of a vertex.
Not all parameters are present in all forms of the command.
Parameters
- v
-
Specifies a pointer to an array of two, three, or four elements.
The elements of a two-element array are
and
;
of a three-element array,
,
,
and
;
and of a four-element array,
,
,
,
and
.
Description
Gl.Vertex commands are used within Gl.Begin/Gl.End pairs to specify
point, line, and polygon vertices. The current color, normal, texture
coordinates, and fog coordinate are associated with the vertex when
Gl.Vertex
is called.
When only
and
are specified,
defaults to 0 and
defaults to 1. When
,
,
and
are specified,
defaults to 1.
Notes
Invoking
Gl.Vertex outside of a Gl.Begin/Gl.End pair
results in undefined behavior.
See also
Gl.Begin,
Gl.EvalCoord,
Gl.FogCoord,
Gl.Index,
Gl.Material,
Gl.MultiTexCoord,
Gl.Normal,
Gl.Rect,
Gl.TexCoord,
Gl.VertexPointer
See original documentation on OpenGL website