Package gov.nasa.worldwind.render
Interface LightingModel
-
- All Known Implementing Classes:
BasicLightingModel
public interface LightingModelAn interface for lighting models.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginLighting(DrawContext dc)Initializes the OpenGL state necessary to effect the lighting model.voidendLighting(DrawContext dc)Restores state set bybeginLighting(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 bybeginLighting(DrawContext)to its original state.- Parameters:
dc- the current draw context.
-
-