73#define RT_MATER_INFO_INIT_ZERO { VINIT_ZERO, 0.0, 0, 0, 0, NULL }
75#define RT_MATER_INFO_INIT_IDN { {1.0, 0.0, 0.0} , -1.0, 0, 0, 0, NULL }
93#define MATER_NULL ((struct mater *)0)
94#define MATER_NO_ADDR ((b_off_t)0)
Header file for the BRL-CAD common definitions.
void db_mater_to_vls(struct bu_vls *str, struct db_i *dbip)
DEPRECATED void rt_vls_color_map(struct bu_vls *str)
struct mater * db_mater_dup(struct db_i *dbip)
DEPRECATED void rt_new_material_head(struct mater *newmat)
void db_mater_insert(struct db_i *dbip, struct mater *newp)
struct mater * db_mater_head(struct db_i *dbip)
DEPRECATED void rt_region_color_map(struct region *regp)
DEPRECATED struct mater * rt_dup_material_head(void)
DEPRECATED void rt_color_addrec(int low, int hi, int r, int g, int b, b_off_t addr)
void db_mater_color_region(struct db_i *dbip, struct region *regp)
void db_mater_set_head(struct db_i *dbip, struct mater *newmat)
void db_mater_add(struct db_i *dbip, int low, int hi, int r, int g, int b, b_off_t addr)
void db_mater_free(struct db_i *dbip)
DEPRECATED void rt_insert_color(struct mater *newp)
DEPRECATED struct mater * rt_material_head(void)
DEPRECATED void rt_color_free(void)
char * ma_shader
shader name & parms
float ma_color[3]
explicit color: 0..1
float ma_temperature
positive ==> degrees Kelvin
char ma_cinherit
color: DB_INH_LOWER / DB_INH_HIGHER
char ma_color_valid
non-0 ==> ma_color is non-default
char ma_minherit
mater: DB_INH_LOWER / DB_INH_HIGHER
b_off_t mt_daddr
database address for v4 record updating
unsigned char mt_g
green component (0-255)
unsigned char mt_b
blue component (0-255)
long mt_low
lower bound of region ID range (inclusive)
struct mater * mt_forw
next entry in the sorted list
unsigned char mt_r
red component (0-255)
long mt_high
upper bound of region ID range (inclusive)