Add frustum culling config control to the API

This commit is contained in:
James Seibel
2024-02-06 21:44:42 -06:00
parent 0cfdf8f57e
commit 223326afe2
2 changed files with 15 additions and 3 deletions
@@ -112,6 +112,18 @@ public interface IDhApiGraphicsConfig extends IDhApiConfigGroup
// advanced graphic settings //
//===========================//
/**
* Sets whether LODs outside the view frustum culling will
* be culled. <br><br>
*
* Disabling this will prevent LODs not rendering on the corner
* of the users vision and may fix issues if LODs appear to
* start/stop rendering incorrectly based on the camera direction,
* but will also reduce FPS.
*/
@Deprecated
IDhApiConfigValue<Boolean> disableFrustumCulling();
/**
* Sets the distance used by the near clip plane to reduce
* overdraw. <br>