Blender V2.61 - r43446
|
#include "STR_String.h"
#include "MT_Point2.h"
Go to the source code of this file.
Classes | |
class | BL_Mapping |
class | BL_Material |
Defines | |
#define | MAXTEX 8 |
Enumerations | |
enum | BL_IdMode { DEFAULT_BLENDER = -1, TEXFACE, ONETEX, TWOTEX, GREATERTHAN2 } |
enum | BL_BlendMode { BLEND_MIX = 1, BLEND_ADD, BLEND_SUB, BLEND_MUL, BLEND_SCR } |
enum | BL_flag { MIPMAP = 1, CALCALPHA = 2, USEALPHA = 4, TEXALPHA = 8, TEXNEG = 16, USENEGALPHA = 64 } |
enum | BL_ras_mode { COLLIDER = 2, ZSORT = 4, ALPHA = 8, USE_LIGHT = 32, WIRE = 64, CAST_SHADOW = 128, TEX = 256, TWOSIDED = 512 } |
enum | BL_MappingFlag { USEENV = 1, USEREFL = 2, USEOBJ = 4, USENORM = 8, USEORCO = 16, USEUV = 32, USETANG = 64, DISABLE = 128, USECUSTOMUV = 256 } |
enum | BL_MappingProj { PROJN = 0, PROJX, PROJY, PROJZ } |
Functions | |
MTex * | getImageFromMaterial (Material *mat, int index) |
int | getNumTexChannels (Material *mat) |
Definition in file BL_Material.h.
#define MAXTEX 8 |
max units this will default to users available units to build with more available, just increment this value although the more you add the slower the search time will be. we will go for eight, which should be enough
Definition at line 32 of file BL_Material.h.
Referenced by BL_Texture::ActivateUnit(), ConvertMaterial(), BL_Texture::DisableAllTextures(), DisableForText(), KX_BlenderMaterial::getImage(), BL_Texture::GetMaxUnits(), KX_BlenderMaterial::getTex(), and BL_Material::Initialize().
enum BL_BlendMode |
Definition at line 128 of file BL_Material.h.
enum BL_flag |
Definition at line 139 of file BL_Material.h.
enum BL_IdMode |
Definition at line 119 of file BL_Material.h.
enum BL_MappingFlag |
Definition at line 167 of file BL_Material.h.
enum BL_MappingProj |
Definition at line 182 of file BL_Material.h.
enum BL_ras_mode |
Definition at line 151 of file BL_Material.h.
Definition at line 13 of file BL_Material.cpp.
References MAX_MTEX, and Material::mtex.
Referenced by ConvertMaterial().
int getNumTexChannels | ( | Material * | mat | ) |
Definition at line 23 of file BL_Material.cpp.
References Material::mtex.
Referenced by ConvertMaterial().