wmater.c File Reference
#include "ged.h"
Include dependency graph for wmater.c:

Go to the source code of this file.


int ged_wmater (struct ged *gedp, int argc, const char *argv[])

Detailed Description

The wmater command.

Definition in file wmater.c.

Function Documentation

int ged_wmater ( struct ged gedp,
int  argc,
const char *  argv[] 

Write material properties to a file for specified combination(s).

Definition at line 30 of file wmater.c.

References bu_vls_addr(), bu_vls_printf(), bu_vls_strlen(), bu_vls_trunc(), directory::d_flags, directory::d_namep, db_lookup(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_ptr, rt_comb_internal::inherit, LOOKUP_NOISY, rt_comb_internal::rgb, rt_comb_internal::rgb_valid, RT_CK_COMB, rt_db_free_internal(), rt_db_get_internal(), RT_DIR_COMB, RT_DIR_NULL, rt_uniresource, rt_comb_internal::shader, and usage().

Referenced by ged_edmater().

Here is the call graph for this function: