Interface IDhApiGpuBuffersConfig
- All Superinterfaces:
IBindable,IDhApiConfigGroup
Distant Horizons' OpenGL buffer configuration.
- Since:
- API 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionDefines how geometry data is uploaded to the GPU.Defines how long we should wait after uploading one Megabyte of geometry data to the GPU before uploading the next Megabyte of data.Methods inherited from interface com.seibel.distanthorizons.coreapi.interfaces.dependencyInjection.IBindable
finishDelayedSetup, getDelayedSetupComplete
-
Method Details
-
gpuUploadMethod
IDhApiConfigValue<EDhApiGpuUploadMethod> gpuUploadMethod()Defines how geometry data is uploaded to the GPU. -
gpuUploadPerMegabyteInMilliseconds
IDhApiConfigValue<Integer> gpuUploadPerMegabyteInMilliseconds()Defines how long we should wait after uploading one Megabyte of geometry data to the GPU before uploading the next Megabyte of data.
This can be set to a non-zero number to reduce stuttering caused by uploading buffers to the GPU.
-