indigo.shared.config.AdvancedGameConfig
See theAdvancedGameConfig companion object
final case class AdvancedGameConfig(renderingTechnology: RenderingTechnology, antiAliasing: Boolean, batchSize: Int, premultipliedAlpha: Boolean, autoLoadStandardShaders: Boolean, disableContextMenu: Boolean)
Additional settings to help tune aspects of your game's performance.
Value parameters
- antiAliasing
-
Smooth the rendered view? Defaults to false.
- autoLoadStandardShaders
-
Should all the standard shaders be made available by default? They can be added individually / manually if you prefer. Defaults to true, to include them.
- batchSize
-
How many scene nodes to batch together between draws, defaults to 256.
- disableContextMenu
-
By default, context menu on right-click is disable for the canvas.
- premultipliedAlpha
-
Should the renderer use premultiplied alpha? All the standard shaders expect the answer to be yes! Disable with caution, defaults to true.
- renderingTechnology
-
Use WebGL 1.0 or 2.0? Defaults to 2.0 with fallback to 1.0.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article