-
public class Engine.BuilderConstructs
Engineobjects using a builder pattern.
-
-
Constructor Summary
Constructors Constructor Description Engine.Builder()
-
Method Summary
Modifier and Type Method Description Engine.Builderbackend(Engine.Backend backend)Sets the Backend for the Engine. Engine.BuildersharedContext(Object sharedContext)Sets a sharedContext for the Engine. Engine.Builderconfig(Engine.Config config)Configure the Engine with custom parameters. Enginebuild()Creates an instance of Engine -
-
Method Detail
-
backend
Engine.Builder backend(Engine.Backend backend)
Sets the Backend for the Engine.
- Parameters:
backend- Driver backend to use
-
sharedContext
Engine.Builder sharedContext(Object sharedContext)
Sets a sharedContext for the Engine.
- Parameters:
sharedContext- A platform-dependant OpenGL context used as a shared contextwhen creating filament's internal context.
-
config
Engine.Builder config(Engine.Config config)
Configure the Engine with custom parameters.
- Parameters:
config- A Config object
-
-
-
-