Blender
V3.3
|
#include <obj_export_mtl.hh>
Public Member Functions | |
MTLMaterial () | |
const tex_map_XX & | tex_map_of_type (const eMTLSyntaxElement key) const |
tex_map_XX & | tex_map_of_type (const eMTLSyntaxElement key) |
Public Attributes | |
std::string | name |
float | Ns {-1.0f} |
float3 | Ka {-1.0f} |
float3 | Kd {-1.0f} |
float3 | Ks {-1.0f} |
float3 | Ke {-1.0f} |
float | Ni {-1.0f} |
float | d {-1.0f} |
int | illum {-1} |
Map< const eMTLSyntaxElement, tex_map_XX > | texture_maps |
float | map_Bump_strength {-1.0f} |
Container suited for storing Material data for/from a .MTL file.
Definition at line 50 of file obj_export_mtl.hh.
|
inline |
Definition at line 51 of file obj_export_mtl.hh.
References blender::io::obj::map_Bump, blender::io::obj::map_d, blender::io::obj::map_Kd, blender::io::obj::map_Ke, blender::io::obj::map_Ks, blender::io::obj::map_Ns, blender::io::obj::map_refl, and texture_maps.
|
inline |
Definition at line 67 of file obj_export_mtl.hh.
References BLI_assert, and texture_maps.
|
inline |
Definition at line 62 of file obj_export_mtl.hh.
References BLI_assert, and texture_maps.
Referenced by blender::io::obj::TEST_F().
float blender::io::obj::MTLMaterial::d {-1.0f} |
Definition at line 82 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), blender::io::obj::store_bsdf_properties(), and blender::io::obj::TEST_F().
int blender::io::obj::MTLMaterial::illum {-1} |
Definition at line 83 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), blender::io::obj::store_bsdf_properties(), and blender::io::obj::TEST_F().
float3 blender::io::obj::MTLMaterial::Ka {-1.0f} |
Definition at line 77 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), blender::io::obj::store_bsdf_properties(), and blender::io::obj::TEST_F().
float3 blender::io::obj::MTLMaterial::Kd {-1.0f} |
Definition at line 78 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), blender::io::obj::store_bsdf_properties(), and blender::io::obj::TEST_F().
float3 blender::io::obj::MTLMaterial::Ke {-1.0f} |
Definition at line 80 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), blender::io::obj::store_bsdf_properties(), and blender::io::obj::TEST_F().
float3 blender::io::obj::MTLMaterial::Ks {-1.0f} |
Definition at line 79 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), blender::io::obj::store_bsdf_properties(), and blender::io::obj::TEST_F().
float blender::io::obj::MTLMaterial::map_Bump_strength {-1.0f} |
Only used for Normal Map node: "map_Bump".
Definition at line 86 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), blender::io::obj::store_image_textures(), and blender::io::obj::TEST_F().
std::string blender::io::obj::MTLMaterial::name |
Definition at line 73 of file obj_export_mtl.hh.
Referenced by blender::io::obj::mtlmaterial_for_material(), and blender::io::obj::TEST_F().
float blender::io::obj::MTLMaterial::Ni {-1.0f} |
Definition at line 81 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), blender::io::obj::store_bsdf_properties(), and blender::io::obj::TEST_F().
float blender::io::obj::MTLMaterial::Ns {-1.0f} |
Definition at line 76 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), blender::io::obj::store_bsdf_properties(), and blender::io::obj::TEST_F().
Map<const eMTLSyntaxElement, tex_map_XX> blender::io::obj::MTLMaterial::texture_maps |
Definition at line 84 of file obj_export_mtl.hh.
Referenced by blender::io::obj::obj_mtl_parser_test::check_impl(), MTLMaterial(), blender::io::obj::store_image_textures(), and tex_map_of_type().