JunkBox_Lib++ (for Windows) 1.10.1
Loading...
Searching...
No Matches
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
 

Macros

#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_ALPHAMODE   9
 
#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
 
MaterialParamnewMaterialParam (MaterialParam p)
 
bool isSameMaterial (MaterialParam a, MaterialParam b)
 compare each texture names and colors
 

Macro Definition Documentation

◆ MATERIAL_ALPHA_BLENDING

#define MATERIAL_ALPHA_BLENDING   1

◆ MATERIAL_ALPHA_EMISSIVE

#define MATERIAL_ALPHA_EMISSIVE   3

Definition at line 16 of file MaterialParam.h.

◆ MATERIAL_ALPHA_MASKING

#define MATERIAL_ALPHA_MASKING   2

Definition at line 15 of file MaterialParam.h.

Referenced by GLTFData::addMaterialParameters().

◆ MATERIAL_ALPHA_NONE

#define MATERIAL_ALPHA_NONE   0

Materialパラメータ

Definition at line 13 of file MaterialParam.h.

Referenced by GLTFData::addMaterialParameters().

◆ MATERIAL_ATTR_ALPHACUTOFF

#define MATERIAL_ATTR_ALPHACUTOFF   4

Definition at line 31 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_ALPHAMODE

#define MATERIAL_ATTR_ALPHAMODE   9

Definition at line 36 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_BRIGHT

#define MATERIAL_ATTR_BRIGHT   7

Definition at line 34 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_COLOR_BLUE

#define MATERIAL_ATTR_COLOR_BLUE   2

Definition at line 29 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_COLOR_GREEN

#define MATERIAL_ATTR_COLOR_GREEN   1

Definition at line 28 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_COLOR_RED

#define MATERIAL_ATTR_COLOR_RED   0

Definition at line 27 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_GLOW

#define MATERIAL_ATTR_GLOW   6

Definition at line 33 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_LEN

#define MATERIAL_ATTR_LEN   24

Definition at line 25 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_LIGHT

#define MATERIAL_ATTR_LIGHT   8

Definition at line 35 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_OBJECT

#define MATERIAL_ATTR_OBJECT   23

Definition at line 44 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_ROTATE

#define MATERIAL_ATTR_ROTATE   21

Definition at line 42 of file MaterialParam.h.

◆ MATERIAL_ATTR_SCALE_U

#define MATERIAL_ATTR_SCALE_U   17

Definition at line 40 of file MaterialParam.h.

◆ MATERIAL_ATTR_SCALE_V

#define MATERIAL_ATTR_SCALE_V   19

Definition at line 41 of file MaterialParam.h.

◆ MATERIAL_ATTR_SHIFT_U

#define MATERIAL_ATTR_SHIFT_U   13

Definition at line 38 of file MaterialParam.h.

◆ MATERIAL_ATTR_SHIFT_V

#define MATERIAL_ATTR_SHIFT_V   15

Definition at line 39 of file MaterialParam.h.

◆ MATERIAL_ATTR_SHININESS

#define MATERIAL_ATTR_SHININESS   5

Definition at line 32 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_ATTR_TRANSPARENT

#define MATERIAL_ATTR_TRANSPARENT   3

Definition at line 30 of file MaterialParam.h.

Referenced by MaterialParam::getBase64Params().

◆ MATERIAL_MAPPING_CYLINDRICAL

#define MATERIAL_MAPPING_CYLINDRICAL   6

Definition at line 22 of file MaterialParam.h.

◆ MATERIAL_MAPPING_DEFAULT

#define MATERIAL_MAPPING_DEFAULT   0

Definition at line 19 of file MaterialParam.h.

◆ MATERIAL_MAPPING_PLANAR

#define MATERIAL_MAPPING_PLANAR   2

◆ MATERIAL_MAPPING_SPHERICAL

#define MATERIAL_MAPPING_SPHERICAL   4

Definition at line 21 of file MaterialParam.h.