public interface LightingModel
| Modifier and Type | Method and Description |
|---|---|
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. |
void beginLighting(DrawContext dc)
dc - the current draw context.DrawContext.setStandardLightingModel(LightingModel),
DrawContext.endStandardLighting()void endLighting(DrawContext dc)
beginLighting(DrawContext) to its original state.dc - the current draw context.