NASA World Wind

gov.nasa.worldwind.render
Interface LightingModel

All Known Implementing Classes:
BasicLightingModel

public interface LightingModel

An interface for lighting models.


Method Summary
 void beginLighting(DrawContext dc)
          Initializes the OpenGL state necessary to effect the lighting model.
 void endLighting(DrawContext dc)
          Restores state set by beginLighting(DrawContext) to its original state.
 

Method Detail

beginLighting

void beginLighting(DrawContext dc)
Initializes the OpenGL state necessary to effect the lighting model.

Parameters:
dc - the current draw context.
See Also:
DrawContext.setStandardLightingModel(LightingModel), DrawContext.endStandardLighting()

endLighting

void endLighting(DrawContext dc)
Restores state set by beginLighting(DrawContext) to its original state.

Parameters:
dc - the current draw context.

NASA World Wind