HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_MaterialTypes.h File Reference
#include "GR_API.h"
#include "GR_Material.h"
#include <RE/RE_Material.h>
#include <SYS/SYS_Align.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_StringMap.h>
#include <UT/UT_Matrix4.h>
#include <UT/UT_UniquePtr.h>
#include <UT/UT_VectorTypes.h>
#include <UT/UT_Vector2.h>
#include <UT/UT_Vector3.h>
+ Include dependency graph for GR_MaterialTypes.h:

Go to the source code of this file.

Classes

class  GR_SimpleMaterial
 
class  GR_MatCapMaterial
 More of a builtin material for the MatCap display mode. More...
 
class  GR_FilmMaterial
 
class  GR_HairMaterial
 
struct  GR_HairMaterial::Defaults
 
class  GR_MatXMaterial
 
class  GR_HeightfieldMaterial
 

Macros

#define PARMKEY(NAME)   static exint NAME();
 
#define MATPARM(TYPE, NAME)
 
#define TEXMAP_PARM(NAME, MAP)
 
#define TEX_PARM(TYPE, NAME)
 
#define HAIR_PARM(TYPE, NAME)
 
#define LAYER_INST(NAME, TYPE)
 
#define LAYER_PARM(NAME, TYPE)
 

Macro Definition Documentation

#define HAIR_PARM (   TYPE,
  NAME 
)
Value:
TYPE get##NAME() const { return myHairBlock.NAME; } \
void set##NAME(const TYPE &v) \
{ if(myHairBlock.NAME != v) { myHairBlock.NAME=v; myBlockDirtyFlag=true; } } \
PARMKEY(NAME)
void
Definition: png.h:1083
const GLdouble * v
Definition: glcorearb.h:837
#define PARMKEY(NAME)

Definition at line 424 of file GR_MaterialTypes.h.

#define LAYER_INST (   NAME,
  TYPE 
)
Value:
TYPE get##NAME(int idx) const { return myLayer.layer[idx].NAME; } \
void set##NAME(int idx, const TYPE &v) \
{ if(myLayer.layer[idx].NAME != v) { myLayer.layer[idx].NAME=v; myLayerDirtyFlag=true; } } \
PARMKEY(NAME)
void
Definition: png.h:1083
const GLdouble * v
Definition: glcorearb.h:837
#define PARMKEY(NAME)

Definition at line 716 of file GR_MaterialTypes.h.

#define LAYER_PARM (   NAME,
  TYPE 
)
Value:
TYPE get##NAME() const { return myLayer.NAME; } \
void set##NAME(const TYPE &v) \
{ if(myLayer.NAME != v) { myLayer.NAME=v; myLayerDirtyFlag=true; } } \
PARMKEY(NAME)
void
Definition: png.h:1083
const GLdouble * v
Definition: glcorearb.h:837
#define PARMKEY(NAME)

Definition at line 723 of file GR_MaterialTypes.h.

#define MATPARM (   TYPE,
  NAME 
)
Value:
TYPE get##NAME() const { return mySimpleBlock.NAME; } \
void set##NAME(const TYPE &v) \
{ if(mySimpleBlock.NAME != v) { mySimpleBlock.NAME=v; myBlockDirtyFlag=true; } } \
PARMKEY(NAME)
void
Definition: png.h:1083
const GLdouble * v
Definition: glcorearb.h:837
#define PARMKEY(NAME)

Definition at line 40 of file GR_MaterialTypes.h.

#define PARMKEY (   NAME)    static exint NAME();

Definition at line 38 of file GR_MaterialTypes.h.

#define TEX_PARM (   TYPE,
  NAME 
)
Value:
TYPE get##NAME() const { return myTextureBlock.NAME; } \
void set##NAME(const TYPE &v) \
{ if(myTextureBlock.NAME != v) \
{ myTextureBlock.NAME=v; myTexBlockDirtyFlag=true; } \
} \
PARMKEY(NAME)
void
Definition: png.h:1083
const GLdouble * v
Definition: glcorearb.h:837
#define PARMKEY(NAME)

Definition at line 198 of file GR_MaterialTypes.h.

#define TEXMAP_PARM (   NAME,
  MAP 
)
Value:
UT_StringHolder get##NAME() const { return my##NAME; } \
void set##NAME(const UT_StringHolder &v) \
{ if(my##NAME != v) { my##NAME=v; myTexDirtyFlag=true; } } \
void set##NAME##Fallback(const UT_Vector4F &f) \
{ if(my##NAME##Fallback!=f) { my##NAME##Fallback=f; myTexDirtyFlag=true; }} \
PARMKEY(NAME); \
UT_Vector4F my##NAME##Fallback; \
UT_StringHolder my##NAME
void
Definition: png.h:1083
const GLdouble * v
Definition: glcorearb.h:837
GLfloat f
Definition: glcorearb.h:1926
#define PARMKEY(NAME)
UT_Vector4T< fpreal32 > UT_Vector4F

Definition at line 59 of file GR_MaterialTypes.h.