MeshLib/MaterialParam.h File Reference

#include "Vector.h"
#include "Rotation.h"
#include "buffer.h"
Include dependency graph for MaterialParam.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TextureParam
class  MaterialParam

Namespaces

namespace  jbxl

Defines

#define MATERIAL_ALPHA_NONE   0
#define MATERIAL_ALPHA_BLENDING   1
#define MATERIAL_ALPHA_MASKING   2
#define MATERIAL_ALPHA_EMISSIVE   3
#define MATERIAL_MAPPING_DEFAULT   0
#define MATERIAL_MAPPING_PLANAR   2
#define MATERIAL_MAPPING_SPHERICAL   4
#define MATERIAL_MAPPING_CYLINDRICAL   6
#define MATERIAL_ATTR_LEN   24
#define MATERIAL_ATTR_COLOR_RED   0
#define MATERIAL_ATTR_COLOR_GREEN   1
#define MATERIAL_ATTR_COLOR_BLUE   2
#define MATERIAL_ATTR_TRANSPARENT   3
#define MATERIAL_ATTR_ALPHACUTOFF   4
#define MATERIAL_ATTR_SHININESS   5
#define MATERIAL_ATTR_GLOW   6
#define MATERIAL_ATTR_BRIGHT   7
#define MATERIAL_ATTR_LIGHT   8
#define MATERIAL_ATTR_SHIFT_U   13
#define MATERIAL_ATTR_SHIFT_V   15
#define MATERIAL_ATTR_SCALE_U   17
#define MATERIAL_ATTR_SCALE_V   19
#define MATERIAL_ATTR_ROTATE   21
#define MATERIAL_ATTR_OBJECT   23

Functions

bool isSameTexture (TextureParam a, TextureParam b)
 compare texture ma,e and color
MaterialParam * newMaterialParam (MaterialParam p)
bool isSameMaterial (MaterialParam a, MaterialParam b)
 compare each texture names and colors

Define Documentation

#define MATERIAL_ALPHA_BLENDING   1
#define MATERIAL_ALPHA_EMISSIVE   3

Definition at line 18 of file MaterialParam.h.

#define MATERIAL_ALPHA_MASKING   2

Definition at line 17 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params(), and TextureParam::isSetAlpha().

#define MATERIAL_ALPHA_NONE   0

Materialパラメータ

Definition at line 15 of file MaterialParam.h.

Referenced by TextureParam::init().

#define MATERIAL_ATTR_ALPHACUTOFF   4

Definition at line 35 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_BRIGHT   7

Definition at line 38 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_COLOR_BLUE   2

Definition at line 33 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_COLOR_GREEN   1

Definition at line 32 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_COLOR_RED   0

Definition at line 31 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_GLOW   6

Definition at line 37 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_LEN   24

Definition at line 29 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_LIGHT   8

Definition at line 39 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_OBJECT   23

Definition at line 46 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_ROTATE   21

Definition at line 45 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_SCALE_U   17

Definition at line 43 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_SCALE_V   19

Definition at line 44 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_SHIFT_U   13

Definition at line 41 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_SHIFT_V   15

Definition at line 42 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_SHININESS   5

Definition at line 36 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_ATTR_TRANSPARENT   3

Definition at line 34 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

#define MATERIAL_MAPPING_CYLINDRICAL   6

Definition at line 25 of file MaterialParam.h.

#define MATERIAL_MAPPING_DEFAULT   0

Definition at line 22 of file MaterialParam.h.

#define MATERIAL_MAPPING_PLANAR   2

Definition at line 23 of file MaterialParam.h.

Referenced by ColladaXML::addTexcrdSource().

#define MATERIAL_MAPPING_SPHERICAL   4

Definition at line 24 of file MaterialParam.h.


Generated on 15 Nov 2023 for JunkBox_Lib++ (for Windows) by  doxygen 1.6.1