shadefuncs.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mfuncs

Defines

#define OPTICAL_EXPORT
#define MF_MAGIC   0x55968058
#define MF_NULL   ((struct mfuncs *)0)
#define RT_CK_MF(_p)   BU_CKMAG(_p, MF_MAGIC, "mfuncs")
#define MFI_NORMAL   0x01
 Need normal.
#define MFI_UV   0x02
 Need uv.
#define MFI_LIGHT   0x04
 Need light visibility.
#define MFI_HIT   0x08
 Need just hit point.
#define MFI_FORMAT   "\020\4HIT\3LIGHT\2UV\1NORMAL"
#define MFF_PROC   0x01
 shader is procedural, computes tr/re/hits

Functions

OPTICAL_EXPORT void mlib_add_shader (struct mfuncs **headp, struct mfuncs *mfp1)
OPTICAL_EXPORT int mlib_setup (struct mfuncs **headp, struct region *rp, struct rt_i *rtip)
OPTICAL_EXPORT void mlib_free (struct region *rp)
OPTICAL_EXPORT struct mfuncsload_dynamic_shader (const char *material, const int mlen)


Detailed Description

Source
The U. S. Army Research Laboratory Aberdeen Proving Ground, Maryland 21005-5068 USA
Header
/cvsroot/brlcad/brlcad/include/shadefuncs.h,v 14.8 2006/09/18 05:24:07 lbutler Exp

Definition in file shadefuncs.h.


Generated on Mon Sep 18 01:25:00 2006 for BRL-CAD by  doxygen 1.4.6