Module dagon.graphics.lod
Provides level-of-detail (LOD) functionality.
Description
The dagon
module defines the LODDrawable
class,
which manages multiple LOD levels and selects the appropriate drawable
and material based on camera distance at render time. This enables efficient
rendering of complex objects by reducing detail as distance from the camera increases.
Classes
Name | Description |
---|---|
LODDrawable
|
A drawable object with multiple levels of detail. |
Structs
Name | Description |
---|---|
LODLevel
|
Represents a single level of detail for a drawable object. |