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.

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