BRL-CAD
|
#include "common.h"
#include "bu/vls.h"
#include "rt/application.h"
#include "rt/region.h"
#include "rt/rt_instance.h"
#include "optical/defines.h"
#include "optical/shadework.h"
Go to the source code of this file.
Data Structures | |
struct | mfuncs |
Macros | |
#define | MF_NULL ((struct mfuncs *)0) |
#define | RT_CK_MF(_p) BU_CKMAG(_p, MF_MAGIC, "mfuncs") |
#define | MFI_NORMAL 0x01 |
Need normal. More... | |
#define | MFI_UV 0x02 |
Need uv. More... | |
#define | MFI_LIGHT 0x04 |
Need light visibility. More... | |
#define | MFI_HIT 0x08 |
Need just hit point. More... | |
#define | MFI_FORMAT |
#define | MFF_PROC 0x01 |
shader is procedural, computes tr/re/hits More... | |
Functions | |
void | mlib_add_shader (struct mfuncs **headp, struct mfuncs *mfp1) |
int | mlib_setup (struct mfuncs **headp, struct region *rp, struct rt_i *rtip) |
void | mlib_free (struct region *rp) |
struct mfuncs * | load_dynamic_shader (const char *material) |