PolygonMode
Keywords: PolygonMode, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> PolygonMode - 3D API polygon mode

> ## Usage

> PolygonMode = int2(face, mode)

> ## Valid Enumerants

> face: Front, Back, FrontAndBack mode: Point, Line, Fill, Solid, Wireframe

> ## Description

> Specify the polygon face rasterization mode. See the OpenGL glPolygonMode manual page for details. See the D3DRS_FILLMODE render state description for DirectX 9.

> The standard reset callback sets the PolygonMode state to int2(FrontAndBack, Fill).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> FillMode