Static root class that manages key engine services (notably the render system) that are used to serve
many engine objects. This class provides a central point to initialize rendering services and then to clean up resources.
Declaration Syntax
C# |
public static class Engine
Members
All Members | Methods | Properties | Events | ||
|
|
|
Icon | Member | Description |
---|---|---|
CleanUpResources()()()() |
Destroys default resources, sets the device to its default state, and destroys any remaining resources
provided by the service providers (e.g. graphics objects). All service providers are disposed of and removed.
|
|
EngineDestroyed |
Event for when the engine resources are disposed of.
|
|
EngineInitialized |
Event for when the engine is initialized for the first time. The render system provider
attached to the engine is the sender.
|
|
EngineReinitialized |
Event for when the engine is re-initialized, meaning an existing render system is attached when
another render system is initialized. The render system provider attached to the engine is
the sender.
|
|
Initialize(IRenderSystemProvider) |
Initializes the engine to use the provided render system provider.
|
|
RenderSystemProvider |
Gets the render system provider. Equivalent to querying the engine service provider collection.
|
|
Services |
Gets the engine service provider collection.
|
|
ValueMap |
Gets the engine value map for binding and retrieving values for shader uniforms.
|
Inheritance Hierarchy
Object | |
Engine |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)