which_shader.c File Reference
#include "common.h"
#include <string.h>
#include "bu/cmd.h"
#include "./ged_private.h"
Include dependency graph for which_shader.c:

Go to the source code of this file.


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

Detailed Description

The which_shader commands.

Definition in file which_shader.c.

Function Documentation

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

Return all combinations with the specified shaders.

Definition at line 36 of file which_shader.c.

References BU_STR_EQUAL, bu_vls_addr(), bu_vls_printf(), bu_vls_trunc(), directory::d_flags, directory::d_namep, rt_wdb::dbip, FOR_ALL_DIRECTORY_END, FOR_ALL_DIRECTORY_START, rt_functab::ft_ifree, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, rt_db_internal::idb_meth, rt_db_internal::idb_ptr, if(), rt_db_get_internal(), RT_DIR_COMB, rt_uniresource, rt_comb_internal::shader, and usage().

Here is the call graph for this function: