Classes | Namespaces | Defines | Enumerations | Functions

stdmat.h File Reference

This reference page is linked to from the following overview topics: Standard Materials and Textures, Multi-Materials.


#include "buildver.h"
#include "imtl.h"
#include "TextureMapIndexConstants.h"

Go to the source code of this file.

Classes

class   StdMat
class   StdMat2
class   StdUVGen
class   StdXYZGen
class   StdTexoutGen
class   BitmapTex
class   MultiMtl
class   Tex3D
class   MultiTex
class   GradTex
class   StdCubic
class   StdMirror
class   StdFog

Namespaces

namespace   MaxSDK
namespace   MaxSDK::AssetManagement

Defines

#define  NSHADES   4
#define  SHADE_CONST   0
#define  SHADE_PHONG   1
#define  SHADE_METAL   2
#define  SHADE_BLINN   3
#define  TRANSP_SUBTRACTIVE   0
#define  TRANSP_ADDITIVE   1
#define  TRANSP_FILTER   2
#define  ID_RAY_REFLECTION   12
#define  ID_RAY_REFRACTION   13
#define  ID_RAY_REFRACTION_IOR   14
#define  ID_TRANSLUCENT_CLR   15
#define  UVMAP_EXPLICIT   0
#define  UVMAP_SPHERE_ENV   1
#define  UVMAP_CYL_ENV   2
#define  UVMAP_SHRINK_ENV   3
#define  UVMAP_SCREEN_ENV   4
#define  XYZ_COORDS   0
#define  UVW_COORDS   1
#define  UVW2_COORDS   2
#define  XYZ_WORLD_COORDS   3
#define  TEXOUT_XXXXX   1
#define  TEXOUT_INVERT   2
#define  TEXOUT_CLAMP   4
#define  TEXOUT_ALPHA_RGB   8
#define  TEXOUT_COLOR_MAP   16
#define  TEXOUT_COLOR_MAP_RGB   32
#define  FILTER_PYR   0
#define  FILTER_SAT   1
#define  FILTER_NADA   2
#define  ALPHA_FILE   0
#define  ALPHA_RGB   2
#define  ALPHA_NONE   3
#define  END_LOOP   0
#define  END_PINGPONG   1
#define  END_HOLD   2
#define  BITMAPTEX_INTERFACE   Interface_ID(0x55b4400e, 0x29ff7cc9)
#define  GetIBitmapTextInterface(cd)   (BitmapTex *)(cd)->GetInterface(BITMAPTEX_INTERFACE)
#define  FALLOFF_TOP   0
#define  FALLOFF_BOTTOM   1
#define  FALLOFF_NONE   2

Enumerations

enum   { bitmaptex_reload, bitmaptex_crop }

Functions

CoreExport void  RegisterSXPReader (MCHAR *sxpName, Class_ID cid)
CoreExport Tex3D GetSXPReaderClass (MCHAR *sxpName)
CoreExport StdMat2 NewDefaultStdMat ()
CoreExport BitmapTex NewDefaultBitmapTex ()
CoreExport MultiMtl NewDefaultMultiMtl ()
CoreExport MultiTex NewDefaultCompositeTex ()
CoreExport MultiTex NewDefaultMixTex ()
CoreExport MultiTex NewDefaultTintTex ()
CoreExport GradTex NewDefaultGradTex ()
CoreExport StdCubic NewDefaultStdCubic ()
CoreExport StdMirror NewDefaultStdMirror ()
CoreExport StdFog NewDefaultStdFog ()

Define Documentation

#define NSHADES   4

Definition at line 20 of file stdmat.h.

#define SHADE_CONST   0

Definition at line 21 of file stdmat.h.

#define SHADE_PHONG   1

Definition at line 22 of file stdmat.h.

#define SHADE_METAL   2

Definition at line 23 of file stdmat.h.

#define SHADE_BLINN   3

Definition at line 24 of file stdmat.h.

#define TRANSP_SUBTRACTIVE   0

Definition at line 27 of file stdmat.h.

#define TRANSP_ADDITIVE   1

Definition at line 28 of file stdmat.h.

#define TRANSP_FILTER   2

Definition at line 29 of file stdmat.h.

#define ID_RAY_REFLECTION   12

Definition at line 32 of file stdmat.h.

#define ID_RAY_REFRACTION   13

Definition at line 33 of file stdmat.h.

#define ID_RAY_REFRACTION_IOR   14

Definition at line 34 of file stdmat.h.

#define ID_TRANSLUCENT_CLR   15

Definition at line 35 of file stdmat.h.

#define UVMAP_EXPLICIT   0

Definition at line 494 of file stdmat.h.

#define UVMAP_SPHERE_ENV   1

Definition at line 495 of file stdmat.h.

#define UVMAP_CYL_ENV   2

Definition at line 496 of file stdmat.h.

#define UVMAP_SHRINK_ENV   3

Definition at line 497 of file stdmat.h.

#define UVMAP_SCREEN_ENV   4

Definition at line 498 of file stdmat.h.

#define XYZ_COORDS   0

Definition at line 765 of file stdmat.h.

#define UVW_COORDS   1

Definition at line 766 of file stdmat.h.

#define UVW2_COORDS   2

Definition at line 767 of file stdmat.h.

#define XYZ_WORLD_COORDS   3

Definition at line 768 of file stdmat.h.

#define TEXOUT_XXXXX   1

Definition at line 883 of file stdmat.h.

#define TEXOUT_INVERT   2

Definition at line 884 of file stdmat.h.

#define TEXOUT_CLAMP   4

Definition at line 885 of file stdmat.h.

#define TEXOUT_ALPHA_RGB   8

Definition at line 886 of file stdmat.h.

#define TEXOUT_COLOR_MAP   16

Definition at line 887 of file stdmat.h.

#define TEXOUT_COLOR_MAP_RGB   32

Definition at line 888 of file stdmat.h.

#define FILTER_PYR   0

Definition at line 1015 of file stdmat.h.

#define FILTER_SAT   1

Definition at line 1016 of file stdmat.h.

#define FILTER_NADA   2

Definition at line 1017 of file stdmat.h.

#define ALPHA_FILE   0

Definition at line 1020 of file stdmat.h.

#define ALPHA_RGB   2

Definition at line 1021 of file stdmat.h.

#define ALPHA_NONE   3

Definition at line 1022 of file stdmat.h.

#define END_LOOP   0

Definition at line 1025 of file stdmat.h.

#define END_PINGPONG   1

Definition at line 1026 of file stdmat.h.

#define END_HOLD   2

Definition at line 1027 of file stdmat.h.

#define BITMAPTEX_INTERFACE   Interface_ID(0x55b4400e, 0x29ff7cc9)

Definition at line 1033 of file stdmat.h.

#define GetIBitmapTextInterface (   cd )    (BitmapTex *)(cd)->GetInterface(BITMAPTEX_INTERFACE)

Definition at line 1035 of file stdmat.h.

#define FALLOFF_TOP   0

Definition at line 1505 of file stdmat.h.

#define FALLOFF_BOTTOM   1

Definition at line 1506 of file stdmat.h.

#define FALLOFF_NONE   2

Definition at line 1507 of file stdmat.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
bitmaptex_reload 
bitmaptex_crop 

Definition at line 1039 of file stdmat.h.


Function Documentation

CoreExport void RegisterSXPReader ( MCHAR *  sxpName,
Class_ID  cid 
)
CoreExport Tex3D* GetSXPReaderClass ( MCHAR *  sxpName )
CoreExport StdMat2* NewDefaultStdMat ( )
CoreExport BitmapTex* NewDefaultBitmapTex ( )
CoreExport MultiMtl* NewDefaultMultiMtl ( )
CoreExport MultiTex* NewDefaultCompositeTex ( )
CoreExport MultiTex* NewDefaultMixTex ( )
CoreExport MultiTex* NewDefaultTintTex ( )
CoreExport GradTex* NewDefaultGradTex ( )
CoreExport StdCubic* NewDefaultStdCubic ( )
CoreExport StdMirror* NewDefaultStdMirror ( )
CoreExport StdFog* NewDefaultStdFog ( )