Code archives/Graphics/SetDrawMode

This code has been declared by its author to be Public Domain code.

Download source code

SetDrawMode by rdodson412007
Sets the polygon drawing mode to filled, outlined, or outlined by points.
Const DRAW_POINT:Int = GL_POINT
Const DRAW_LINE:Int = GL_LINE
Const DRAW_FILL:Int = GL_FILL

Function SetDrawMode(mode:Int)
    glPolygonMode(GL_FRONT_AND_BACK, mode)
EndFunction

Comments

None.

Code Archives Forum