3ds Max C++ API Reference
|
Macros | |
#define | MTL_IN_SCENE (1<<0) |
The material is being used in the scene. More... | |
#define | MTL_BEING_EDITED (1<<1) |
The material's parameters are being displayed in the Material Editor. More... | |
#define | MTL_SUB_BEING_EDITED (1<<2) |
This material OR sub-material texmap is being displayed in the Material Editor. More... | |
#define | MTL_TEX_DISPLAY_ENABLED (1<<3) |
Viewport display enabled for this material (see MTL_SUB_DISPLAY_ENABLED). More... | |
#define | MTL_MEDIT_BACKGROUND (1<<8) |
Material has the background shown in Material Editor. More... | |
#define | MTL_MEDIT_BACKLIGHT (1<<9) |
Material is backlight in the Material Editor. More... | |
#define | MTL_OBJTYPE_SHIFT 10 |
#define | MTL_MEDIT_OBJTYPE (1<<MTL_OBJTYPE_SHIFT) |
Object type displayed in Material Editor. More... | |
#define | MTL_MEDIT_OBJTYPE_MASK ((1<<MTL_OBJTYPE_SHIFT)|(1<<(MTL_OBJTYPE_SHIFT+1))|(1<<(MTL_OBJTYPE_SHIFT+2))) |
#define | MTL_TILING_SHIFT 13 |
#define | MTL_MEDIT_TILING (1<<MTL_TILING_SHIFT) |
#define | MTL_MEDIT_TILING_MASK ((1<<MTL_TILING_SHIFT)|(1<<(MTL_TILING_SHIFT+1))|(1<<(MTL_TILING_SHIFT+2))) |
#define | MTL_MEDIT_VIDCHECK (1<<16) |
#define | MTL_BROWSE_OPEN1 (1<<18) |
For internal use. More... | |
#define | MTL_BROWSE_OPEN2 (1<<19) |
For internal use. More... | |
#define | MTL_SUB_DISPLAY_ENABLED (1<<20) |
Indicates that texture display is enabled for map or material in this subtree. More... | |
#define | MTL_CLONED (1<<28) |
Indicates material or texture was created by being cloned from another material or texture. More... | |
#define | MTL_HW_MAT_PRESENT (1<<29) |
#define | MTL_HW_MAT_ENABLED (1<<30) |
#define | MTL_WORK_FLAG (1<<31) |
#define | MTL_DISPLAY_ENABLE_FLAGS (MTL_TEX_DISPLAY_ENABLED|MTL_SUB_DISPLAY_ENABLED) |
Interactive texture display enabled for THIS mtl base. More... | |
#define | MTL_HW_TEX_ENABLED (1<<17) |
Indicates that the texture should be part of the realtime shader. More... | |
#define MTL_IN_SCENE (1<<0) |
The material is being used in the scene.
#define MTL_BEING_EDITED (1<<1) |
The material's parameters are being displayed in the Material Editor.
#define MTL_SUB_BEING_EDITED (1<<2) |
This material OR sub-material texmap is being displayed in the Material Editor.
#define MTL_TEX_DISPLAY_ENABLED (1<<3) |
Viewport display enabled for this material (see MTL_SUB_DISPLAY_ENABLED).
#define MTL_OBJTYPE_SHIFT 10 |
#define MTL_MEDIT_OBJTYPE (1<<MTL_OBJTYPE_SHIFT) |
#define MTL_MEDIT_OBJTYPE_MASK ((1<<MTL_OBJTYPE_SHIFT)|(1<<(MTL_OBJTYPE_SHIFT+1))|(1<<(MTL_OBJTYPE_SHIFT+2))) |
#define MTL_TILING_SHIFT 13 |
#define MTL_MEDIT_TILING (1<<MTL_TILING_SHIFT) |
#define MTL_MEDIT_TILING_MASK ((1<<MTL_TILING_SHIFT)|(1<<(MTL_TILING_SHIFT+1))|(1<<(MTL_TILING_SHIFT+2))) |
#define MTL_MEDIT_VIDCHECK (1<<16) |
#define MTL_BROWSE_OPEN1 (1<<18) |
For internal use.
#define MTL_BROWSE_OPEN2 (1<<19) |
For internal use.
#define MTL_SUB_DISPLAY_ENABLED (1<<20) |
Indicates that texture display is enabled for map or material in this subtree.
#define MTL_CLONED (1<<28) |
Indicates material or texture was created by being cloned from another material or texture.
#define MTL_HW_MAT_PRESENT (1<<29) |
#define MTL_HW_MAT_ENABLED (1<<30) |
#define MTL_WORK_FLAG (1<<31) |
#define MTL_DISPLAY_ENABLE_FLAGS (MTL_TEX_DISPLAY_ENABLED|MTL_SUB_DISPLAY_ENABLED) |
Interactive texture display enabled for THIS mtl base.
#define MTL_HW_TEX_ENABLED (1<<17) |
Indicates that the texture should be part of the realtime shader.