Blender V2.61 - r43446
Public Member Functions | Public Attributes

BL_Material Class Reference

#include <BL_Material.h>

List of all members.

Public Member Functions

 BL_Material ()
void Initialize ()
void SetConversionRGB (unsigned int *rgb)
void GetConversionRGB (unsigned int *rgb)
void SetConversionUV (const STR_String &name, MT_Point2 *uv)
void GetConversionUV (MT_Point2 *uv)
void SetConversionUV2 (const STR_String &name, MT_Point2 *uv)
void GetConversionUV2 (MT_Point2 *uv)
void SetSharedMaterial (bool v)
bool IsShared ()
void SetUsers (int num)

Public Attributes

int IdMode
unsigned int ras_mode
bool glslmat
STR_String texname [MAXTEX]
unsigned int flag [MAXTEX]
int tile
int tilexrep [MAXTEX]
int tileyrep [MAXTEX]
STR_String matname
STR_String mtexname [MAXTEX]
int materialindex
float matcolor [4]
float speccolor [3]
short alphablend
short pad
float hard
float spec_f
float alpha
float emit
float color_blend [MAXTEX]
float ref
float amb
int blend_mode [MAXTEX]
int num_enabled
BL_Mapping mapping [MAXTEX]
STR_String imageId [MAXTEX]
Materialmaterial
MTFacetface
Imageimg [MAXTEX]
EnvMapcubemap [MAXTEX]
unsigned int rgb [4]
MT_Point2 uv [4]
MT_Point2 uv2 [4]
STR_String uvName
STR_String uv2Name

Detailed Description

Definition at line 47 of file BL_Material.h.


Constructor & Destructor Documentation

BL_Material::BL_Material ( )

Definition at line 32 of file BL_Material.cpp.

References Initialize().


Member Function Documentation

void BL_Material::GetConversionRGB ( unsigned int *  rgb)

Definition at line 109 of file BL_Material.cpp.

References rgb.

Referenced by BL_ConvertMesh().

void BL_Material::GetConversionUV ( MT_Point2 uv)

Definition at line 126 of file BL_Material.cpp.

References uv.

Referenced by BL_ConvertMesh().

void BL_Material::GetConversionUV2 ( MT_Point2 uv)

Definition at line 142 of file BL_Material.cpp.

References uv2.

Referenced by BL_ConvertMesh().

void BL_Material::Initialize ( )
bool BL_Material::IsShared ( )

Definition at line 159 of file BL_Material.cpp.

Referenced by KX_BlenderMaterial::ActivatShaders().

void BL_Material::SetConversionRGB ( unsigned int *  rgb)

Definition at line 101 of file BL_Material.cpp.

References rgb.

Referenced by ConvertMaterial().

void BL_Material::SetConversionUV ( const STR_String name,
MT_Point2 uv 
)

Definition at line 117 of file BL_Material.cpp.

References Main::name, uv, and uvName.

Referenced by ConvertMaterial().

void BL_Material::SetConversionUV2 ( const STR_String name,
MT_Point2 uv 
)

Definition at line 133 of file BL_Material.cpp.

References Main::name, uv2, and uv2Name.

Referenced by ConvertMaterial().

void BL_Material::SetSharedMaterial ( bool  v)

Definition at line 151 of file BL_Material.cpp.

void BL_Material::SetUsers ( int  num)

Definition at line 164 of file BL_Material.cpp.

Referenced by ConvertMaterial().


Member Data Documentation

Definition at line 74 of file BL_Material.h.

Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().

Definition at line 75 of file BL_Material.h.

Referenced by ConvertMaterial(), and Initialize().

float BL_Material::color_blend[MAXTEX]

Definition at line 74 of file BL_Material.h.

Referenced by ConvertMaterial(), Initialize(), and BL_Texture::setTexEnv().

Definition at line 88 of file BL_Material.h.

Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::OnConstruction().

Definition at line 74 of file BL_Material.h.

Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().

unsigned int BL_Material::flag[MAXTEX]

Definition at line 73 of file BL_Material.h.

Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().

Definition at line 58 of file BL_Material.h.

Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().

Definition at line 82 of file BL_Material.h.

Referenced by Initialize().

Definition at line 69 of file BL_Material.h.

Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().

Definition at line 67 of file BL_Material.h.

Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().

Definition at line 66 of file BL_Material.h.

Referenced by ConvertMaterial(), and Initialize().

Definition at line 71 of file BL_Material.h.

unsigned int BL_Material::ras_mode

Definition at line 74 of file BL_Material.h.

Referenced by ConvertMaterial(), and KX_BlenderMaterial::UpdateIPO().

unsigned int BL_Material::rgb[4]

Definition at line 73 of file BL_Material.h.

Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().

Definition at line 70 of file BL_Material.h.

Referenced by ConvertMaterial(), Initialize(), and KX_BlenderMaterial::UpdateIPO().

Definition at line 62 of file BL_Material.h.

Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().

Definition at line 86 of file BL_Material.h.

Referenced by ConvertMaterial(), KX_BlenderMaterial::GetMTFace(), and Initialize().

Definition at line 64 of file BL_Material.h.

Referenced by ConvertMaterial(), KX_BlenderMaterial::Initialize(), and Initialize().

int BL_Material::tilexrep[MAXTEX]

Definition at line 64 of file BL_Material.h.

Referenced by KX_BlenderMaterial::Initialize(), and Initialize().

int BL_Material::tileyrep[MAXTEX]

Definition at line 64 of file BL_Material.h.

Referenced by KX_BlenderMaterial::Initialize(), and Initialize().

Definition at line 91 of file BL_Material.h.

Referenced by GetConversionUV(), Initialize(), and SetConversionUV().

Definition at line 92 of file BL_Material.h.

Referenced by GetConversionUV2(), Initialize(), and SetConversionUV2().

Definition at line 95 of file BL_Material.h.

Referenced by BL_BlenderShader::SetAttribs(), and SetConversionUV2().

Definition at line 94 of file BL_Material.h.

Referenced by BL_BlenderShader::SetAttribs(), and SetConversionUV().


The documentation for this class was generated from the following files: