Blender V2.61 - r43446
Functions

BL_Material.cpp File Reference

#include "BL_Material.h"
#include "DNA_material_types.h"
#include "DNA_texture_types.h"
#include "DNA_image_types.h"
#include "DNA_mesh_types.h"
#include "IMB_imbuf_types.h"
#include "IMB_imbuf.h"

Go to the source code of this file.

Functions

MTexgetImageFromMaterial (Material *mat, int index)
int getNumTexChannels (Material *mat)

Detailed Description

Definition in file BL_Material.cpp.


Function Documentation

MTex* getImageFromMaterial ( Material mat,
int  index 
)

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().