BRL-CAD
|
#include <shadefuncs.h>
Data Fields | |
uint32_t | mf_magic |
To validate structure. More... | |
char * | mf_name |
Keyword for material. More... | |
struct mfuncs * | mf_forw |
Forward link. More... | |
int | mf_inputs |
shadework inputs needed More... | |
int | mf_flags |
Flags describing shader. More... | |
int(* | mf_setup )(struct region *rp, struct bu_vls *matparm, void **dpp, const struct mfuncs *mfp, struct rt_i *rtip) |
Routine for preparing. More... | |
int(* | mf_render )(struct application *ap, const struct partition *pp, struct shadework *swp, void *dp) |
Routine for rendering. More... | |
void(* | mf_print )(struct region *rp, void *dp) |
Routine for printing. More... | |
void(* | mf_free )(void *cp) |
Routine for releasing storage. More... | |
The interface to the various material property & texture routines.
Definition at line 41 of file shadefuncs.h.
uint32_t mf_magic |
To validate structure.
Definition at line 42 of file shadefuncs.h.
char* mf_name |
Keyword for material.
Definition at line 43 of file shadefuncs.h.
struct mfuncs* mf_forw |
Forward link.
Definition at line 44 of file shadefuncs.h.
int mf_inputs |
shadework inputs needed
Definition at line 45 of file shadefuncs.h.
int mf_flags |
Flags describing shader.
Definition at line 46 of file shadefuncs.h.
int(* mf_setup) (struct region *rp, struct bu_vls *matparm, void **dpp, const struct mfuncs *mfp, struct rt_i *rtip) |
Routine for preparing.
Definition at line 47 of file shadefuncs.h.
int(* mf_render) (struct application *ap, const struct partition *pp, struct shadework *swp, void *dp) |
Routine for rendering.
Definition at line 52 of file shadefuncs.h.
void(* mf_print) (struct region *rp, void *dp) |
Routine for printing.
Definition at line 56 of file shadefuncs.h.
void(* mf_free) (void *cp) |
Routine for releasing storage.
Definition at line 58 of file shadefuncs.h.