3ds Max C++ API Reference
RendType.h File Reference
#include "buildver.h"

Enumerations

enum  RendType {
  RENDTYPE_NORMAL , RENDTYPE_REGION , RENDTYPE_BLOWUP , RENDTYPE_SELECT ,
  RENDTYPE_REGIONCROP , RENDTYPE_REGION_SEL , RENDTYPE_CROP_SEL , RENDTYPE_BAKE_SEL ,
  RENDTYPE_BAKE_ALL , RENDTYPE_BAKE_SEL_CROP , RENDTYPE_BLOWUP_SEL
}
 Used to specify the desired type of render when opening a renderer using Interface::OpenCurRenderer. More...
 
enum  RenderUIType {
  RENDER_VIEW = 0 , RENDER_SELECTED , RENDER_REGION , RENDER_CROP ,
  RENDER_BLOWUP , RENDER_BLOWUP_SELECTED , RENDER_REGION_SELECTED , RENDER_CROP_SELECTED
}
 Used to change the current render type in the main user interface. More...
 

Enumeration Type Documentation

◆ RendType

enum RendType

Used to specify the desired type of render when opening a renderer using Interface::OpenCurRenderer.

The following 3 types are not passed into plugin renderers: RENDTYPE_REGION_SEL, RENDTYPE_CROP_SEL and RENDTYPE_BLOWUP_SEL. Their purpose is for passing to the function Interface::OpenCurRenderer, which converts them into RENDTYPE_REGION, RENDTYPE_REGIONCROP and RENDTYPE_BLOWUP, respectively. The latter 3 are passed into renderers with the region dimensions specified by the system according to the bounding boxes of the selected objects. These are related to values in RenderUIType enum, but their values do not necessarily match. RendType and RenderUIType are not directly interchangeable. Please note that RENDTYPE_BAKE_SEL, RENDTYPE_BAKE_ALL, RENDTYPE_BAKE_SEL_CROP are not supported by OpenCurRenderer. If used they will act as if RENDTYPE_NORMAL has been used.

See also
Interface::OpenCurRenderer, Interface7::SetRegionRect, Interface7::SetBlowupRect, RenderUIType
Enumerator
RENDTYPE_NORMAL 

the entire view

RENDTYPE_REGION 

a portion of the entire view specified by the region rectangle.

RENDTYPE_BLOWUP 

a portion of the entire view, specified by the blowup rectangle, enlarged to the dimensions of the output image

RENDTYPE_SELECT 

only selected objects in the entire view

RENDTYPE_REGIONCROP 

a portion of the entire view, specified by the region rectangle, cropped to a portion of the output image

RENDTYPE_REGION_SEL 

a region render using the bounding rectangle of the selection

RENDTYPE_CROP_SEL 

a crop render using the bounding rectangle of the selection

RENDTYPE_BAKE_SEL 

bake textures on selected objects

RENDTYPE_BAKE_ALL 

bake textures on all objects

RENDTYPE_BAKE_SEL_CROP 

bake textures on selected objects, crop render

RENDTYPE_BLOWUP_SEL 

a blowup render using the bounding rectangle of the selection

33 {
41 
45 
47 };
@ RENDTYPE_BAKE_SEL
bake textures on selected objects
Definition: RendType.h:42
@ RENDTYPE_BLOWUP
a portion of the entire view, specified by the blowup rectangle, enlarged to the dimensions of the ou...
Definition: RendType.h:36
@ RENDTYPE_NORMAL
the entire view
Definition: RendType.h:34
@ RENDTYPE_BLOWUP_SEL
a blowup render using the bounding rectangle of the selection
Definition: RendType.h:46
@ RENDTYPE_REGION_SEL
a region render using the bounding rectangle of the selection
Definition: RendType.h:39
@ RENDTYPE_SELECT
only selected objects in the entire view
Definition: RendType.h:37
@ RENDTYPE_REGION
a portion of the entire view specified by the region rectangle.
Definition: RendType.h:35
@ RENDTYPE_BAKE_SEL_CROP
bake textures on selected objects, crop render
Definition: RendType.h:44
@ RENDTYPE_BAKE_ALL
bake textures on all objects
Definition: RendType.h:43
@ RENDTYPE_CROP_SEL
a crop render using the bounding rectangle of the selection
Definition: RendType.h:40
@ RENDTYPE_REGIONCROP
a portion of the entire view, specified by the region rectangle, cropped to a portion of the output i...
Definition: RendType.h:38

◆ RenderUIType

Used to change the current render type in the main user interface.

These values specify the render type selected in the main user interface, using Interface7::GetRenderType and Interface7::SetRenderType. These are related to values in RendType enum, but their values do not necessarily match. RendType and RenderUIType are not directly interchangeable. These values may also not match the order in which their corresponding values appear in the user interface.

See also
Interface7::GetRenderType, Interface7::SetRenderType, RendType
Enumerator
RENDER_VIEW 

the entire view

RENDER_SELECTED 

only selected objects in the entire view

RENDER_REGION 

a portion of the entire view specified by the region rectangle.

RENDER_CROP 

a portion of the entire view, specified by the region rectangle, cropped to a portion of the output image

RENDER_BLOWUP 

a portion of the entire view, specified by the blowup rectangle, enlarged to the dimensions of the output image

RENDER_BLOWUP_SELECTED 

a blowup render using the bounding rectangle of the selection

RENDER_REGION_SELECTED 

a region render using the bounding rectangle of the selection

RENDER_CROP_SELECTED 

a crop render using the bounding rectangle of the selection

59  {
60  RENDER_VIEW = 0,
63  RENDER_CROP,
68 };
@ RENDER_CROP_SELECTED
a crop render using the bounding rectangle of the selection
Definition: RendType.h:67
@ RENDER_REGION_SELECTED
a region render using the bounding rectangle of the selection
Definition: RendType.h:66
@ RENDER_SELECTED
only selected objects in the entire view
Definition: RendType.h:61
@ RENDER_BLOWUP
a portion of the entire view, specified by the blowup rectangle, enlarged to the dimensions of the ou...
Definition: RendType.h:64
@ RENDER_VIEW
the entire view
Definition: RendType.h:60
@ RENDER_CROP
a portion of the entire view, specified by the region rectangle, cropped to a portion of the output i...
Definition: RendType.h:63
@ RENDER_BLOWUP_SELECTED
a blowup render using the bounding rectangle of the selection
Definition: RendType.h:65
@ RENDER_REGION
a portion of the entire view specified by the region rectangle.
Definition: RendType.h:62