Blender  V3.3
Namespaces | Functions
obj_export_mtl.cc File Reference
#include "BKE_image.h"
#include "BKE_node.h"
#include "BLI_map.hh"
#include "BLI_math_vector.h"
#include "BLI_math_vector.hh"
#include "BLI_path_util.h"
#include "DNA_material_types.h"
#include "DNA_node_types.h"
#include "NOD_node_tree_ref.hh"
#include "obj_export_mesh.hh"
#include "obj_export_mtl.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::io
 
 blender::io::obj
 

Functions

static void blender::io::obj::copy_property_from_node (const eNodeSocketDatatype property_type, const bNode *node, const char *identifier, MutableSpan< float > r_property)
 
static void blender::io::obj::linked_sockets_to_dest_id (const bNode *dest_node, const nodes::NodeTreeRef &node_tree, StringRefNull dest_socket_id, Vector< const nodes::OutputSocketRef * > &r_linked_sockets)
 
static const bNodeblender::io::obj::get_node_of_type (Span< const nodes::OutputSocketRef * > sockets_list, const int node_type)
 
static std::string blender::io::obj::get_image_filepath (const bNode *tex_node)
 
static const nodes::NodeRef * blender::io::obj::find_bsdf_node (const nodes::NodeTreeRef *nodetree)
 
static void blender::io::obj::store_bsdf_properties (const nodes::NodeRef *bsdf_node, const Material *material, MTLMaterial &r_mtl_mat)
 
static void blender::io::obj::store_image_textures (const nodes::NodeRef *bsdf_node, const nodes::NodeTreeRef *node_tree, const Material *material, MTLMaterial &r_mtl_mat)
 
MTLMaterial blender::io::obj::mtlmaterial_for_material (const Material *material)