|
Panda3D
|
Specifies whether flat shading (per-polygon) or smooth shading (per-vertex) is in effect. More...
Public Types | |
| enum | Mode { MFlat = 0, MSmooth = 1 } |
Public Member Functions | |
| Mode | getMode () |
| Returns the shade mode. | |
Static Public Member Functions | |
| static int | getClassSlot () |
| static TypeHandle | getClassType () |
| static RenderAttrib const | make (Mode mode) |
| Constructs a new ShadeModelAttrib object that specifies whether to draw polygons with flat shading or with per-vertex (smooth) shading. | |
| static RenderAttrib const | makeDefault () |
| Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be. | |
Specifies whether flat shading (per-polygon) or smooth shading (per-vertex) is in effect.
| enum Mode |
| static int getClassSlot | ( | ) | [static] |
| static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from RenderAttrib.
| Mode getMode | ( | ) |
Returns the shade mode.
| static RenderAttrib const make | ( | Mode | mode | ) | [static] |
Constructs a new ShadeModelAttrib object that specifies whether to draw polygons with flat shading or with per-vertex (smooth) shading.
| static RenderAttrib const makeDefault | ( | ) | [static] |
Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be.
1.7.3