Function


mrnLightSetInit

Initializes mrnLightSet

Syntax

#include <mrn/LightSet.h>
void mrnLightSetInit( MrnLightSet *light_set_ptr );

Description

Initializes mrnLightSet.

mrnLightSetDrawObjects

Displays all objects which use the light set, sorted in material order

Syntax

#include <mrn/LightSet.h>
Gfx *mrnLightSetDrawObjects( MrnLightSet *light_set_ptr,
                             MrnContext *context_ptr,
                             Gfx *gfx_ptr )

Description

Displays all objects which use the light set, sorted in material order.

mrnLightSetGenerateGfx

Generates a gfx that sets up the light set

Syntax

#include <mrn/LightSet.h>
Gfx *mrnLightSetGenerateGfx( const MrnLightSet *light_set_ptr,
                             MrnContext *context_ptr,
                             const MrnMaterial *material_ptr,
                             Gfx *gfx_ptr )

Description

Generates a gfx that sets up the light set

mrnLightSetModifyColor

Changes the color of the N64 light source to match the material

Syntax

#include <mrn/LightSet.h>
Gfx *mrnLightSetModifyColor( const MrnLightSet *light_set_ptr,
                             MrnContext *context_ptr,
                             const MrnMaterial *material_ptr,
                             Gfx *gfx_ptr )

Description

Changes the color of the N64 light source to match the material