BRL-CAD
|
#include <shadefuncs.h>
Data Fields | |
uint32_t | mf_magic |
To validate structure. | |
char * | mf_name |
Keyword for material. | |
struct mfuncs * | mf_forw |
Forward link. | |
int | mf_inputs |
shadework inputs needed | |
int | mf_flags |
Flags describing shader. | |
int(* | mf_setup )(struct region *rp, struct bu_vls *matparm, void **dpp, const struct mfuncs *mfp, struct rt_i *rtip) |
Routine for preparing. | |
int(* | mf_render )(struct application *ap, const struct partition *pp, struct shadework *swp, void *dp) |
Routine for rendering. | |
void(* | mf_print )(struct region *rp, void *dp) |
Routine for printing. | |
void(* | mf_free )(void *cp) |
Routine for releasing storage. | |
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.
Routine for printing.
Definition at line 56 of file shadefuncs.h.
Routine for releasing storage.
Definition at line 58 of file shadefuncs.h.