12 #include "COLLADASWLibraryMaterials.h"
13 #include "COLLADASWStreamWriter.h"
33 bool hasMaterials(
Scene *sce);
34 BCExportSettings &export_settings;
39 std::vector<std::string>
60 if (find(mMat.begin(), mMat.end(), translated_id) == mMat.end()) {
63 mMat.push_back(translated_id);
73 template<
class Functor>
General operations, lookup, etc. for materials.
struct Material * BKE_object_material_get(struct Object *ob, short act)
Object is a sort of wrapper for general info.
ForEachMaterialFunctor(Functor *f)
void operator()(Object *ob)
void operator()(Material *ma, Object *ob)
MaterialsExporter(COLLADASW::StreamWriter *sw, BCExportSettings &export_settings)
void exportMaterials(Scene *sce)
std::string translate_id(const char *idString)
std::string id_name(void *id)
ccl_gpu_kernel_postfix ccl_global float int int int sw
void forEachMeshObjectInExportSet(Scene *sce, Functor &f, LinkNode *export_set)
void forEachMaterialInExportSet(Scene *sce, Functor &f, LinkNode *export_set)