For OpenGL,
set drawing mode to outline of points: glPolygonMode(GL_FRONT_AND_BACK, GL_POINT)
set drawing mode to outline of lines: glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
set drawing mode to filled: glPolygonMode(GL_FRONT_AND_BACK, GL_FILL)
EDIT: little function here
set drawing mode to outline of points: glPolygonMode(GL_FRONT_AND_BACK, GL_POINT)
set drawing mode to outline of lines: glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
set drawing mode to filled: glPolygonMode(GL_FRONT_AND_BACK, GL_FILL)
EDIT: little function here
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