TinmanModule
Description
- Derived from
- Extended by
-
TinmanAddOnsDirectX11Module sealed
TinmanAddOnsDirectX12Module sealed
TinmanAddOnsDirectX9Module sealed
TinmanAddOnsModule sealed
TinmanAddOnsSQLiteModule sealed
TinmanAddOnsVulkanModule sealed
TinmanCoreModule sealed
TinmanDemoModule sealed
TinmanDemoStandAloneModule sealed
TinmanEngineModule sealed
TinmanProcessorModule sealed
TinmanTerrainModule sealed
Abstract base class for Tinman module descriptors.
Public / Constants
Public / Methods
Initialize
Initializes the Tinman 3D library.
Before calling this method, call IPleaseIncludeInBinaryThanks.PleaseIncludeInBinaryThanks on the top-level module(s) of the enclosing application. Then, based on the collected module dependencies (see Dependencies), this method will call IPleaseIncludeInBinaryThanks.PleaseIncludeInBinaryThanks and DoInitialize on all modules.
This method may be called repeatedly, subsequent invocations have no effect.
- LicenceException
-
If LicenceDomain.Tinman is still locked.
- See also
Resource
2 overloads
Returns the canonical path to the given embedded resource.
- IOException
-
If the given resourceName in is not a valid path name.
Returns the canonical path to the given embedded resource.
Shutdown
Shuts down the Tinman 3D library.
Before calling this method, make sure to relinquish ownership of all IDisposable objects. This method will call DoShutdown on all modules.
This method may be called repeatedly, subsequent invocations have no effect.
Public / Attributes
Settings
Canonical path to directory where to put user-specific settings.
The directory will be created, if necessary.
- IOException
-
If an I/O error has occurred.
Protected / Methods
CollectDependencies
Collects those TinmanModule module descriptors this module directly depends on.
CollectSystemInfo
Collects textual system information for debugging purposes.
- IOException
-
If an I/O error has occurred while writing to writer in.
RegisterResource
Registers an embedded binary resource.
If the resource cannot be found, an error log message is generated and the method returns silently.
- IOException
-
If extract opt is
true
and the resource is not a valid ZIP archive.
- See also
Protected / Attributes
pleaseIncludeInBinaryThanks
Subclasses may increment this dummy counter from within IPleaseIncludeInBinaryThanks.PleaseIncludeInBinaryThanks in order to prevent overly aggressive code optimizations that may alter the order of initialization.