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.

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