Viewport Rendering Levels

Viewport Rendering Levels

Module description

These values are used by Interface7::SetActiveViewportRenderLevel(int level).

The values correspond to the shading options in the Viewport right-click menu

Macros

#define SHADE_LEVELS   10
 

Enumerations

enum  ShadeType {
  SMOOTH_HIGHLIGHT, SMOOTH, FACET_HIGHLITE, FACET,
  CONSTANT, HIDDENLINE, LITE_WIREFRAME, Z_WIREFRAME,
  WIREFRAME, BOX
}
 

Macro Definition Documentation

#define SHADE_LEVELS   10

Enumeration Type Documentation

enum ShadeType
Enumerator
SMOOTH_HIGHLIGHT 

Smooth shading with highlights.

SMOOTH 

Smooth shading without highlights.

FACET_HIGHLITE 

Faces\facets with highlights.

FACET 

Faces\facets without highlights.

CONSTANT 

Flat shading.

HIDDENLINE 
LITE_WIREFRAME 

Lit wireframe shading.

Z_WIREFRAME 

Unused.

WIREFRAME 

Wireframe shading.

BOX 

Displays objects as bounding boxes.

291  {
293  SMOOTH,
295  FACET,
296  CONSTANT,
297  HIDDENLINE,
299  Z_WIREFRAME,
300  WIREFRAME,
301  BOX
302 };
Smooth shading without highlights.
Definition: maxapi.h:293
Flat shading.
Definition: maxapi.h:296
Smooth shading with highlights.
Definition: maxapi.h:292
Faces\facets without highlights.
Definition: maxapi.h:295
Unused.
Definition: maxapi.h:299
Lit wireframe shading.
Definition: maxapi.h:298
Faces\facets with highlights.
Definition: maxapi.h:294
Displays objects as bounding boxes.
Definition: maxapi.h:301
Wireframe shading.
Definition: maxapi.h:300
Definition: maxapi.h:297