gl:fill-style
List of: Scheme Extensions
Subjects: Rendering Control
Contents: OpenGL

Action: Gets the fill style that OpenGL uses when rendering polygons.

Filename: gl/gl_scm/gl_scm.cxx

APIs: api_gl_get_fill_style

Syntax: (gl:fill-style)

Arg Types: api_gl_get_fill_style

Returns: string

Description: This extension gets the fill mode that OpenGL uses when rendering polygons.


Fill styles are:


filled renders polygons fully.

edge renders only polygon edges.

point renders only polygon vertices.

Limitations: Supported on NT platforms only.

Example: ; gl:fill-style

; Get the polygon fill style.

(view:gl)

;; #[view 41943049]

; Create a sphere

(define sphere1(solid:sphere (position 0 0 0) 40))

;; sphere1

(gl:fill-style)

;; "filled"
PDF/GL/01SC.PDF
HTM/DATA/GL/GL/01SC/0002.HTM