DemoApplicationConfig

Description

sealed class Tinman.Demo.DemoApplicationConfig

Full source code is included in the Tinman 3D SDK download.

Locates and loads the file-based configuration of the demo application.

Public / Constructors

Demo​Application​Config


[ThrowAny]
public constructor DemoApplicationConfig → ()

Creates a new instance of DemoApplicationConfig.

Public / Attributes

Context​Factories


public readonly attribute ContextFactories → (IVectorConst<IGraphicsContextFactory>)

The configured graphics context factories.

All contained context factories can create graphics contexts (see IGraphicsContextFactory.CanCreateGraphicsContext). There will be at least one context factory in the list.

Context​Factory


public readonly attribute ContextFactory → (int32)

The graphics context factory to use on startup, given as a zero-based index into ContextFactories.

Filesystem


public readonly attribute Filesystem → (IVectorConst<VirtualPath>)

The path mappings that make up the virtual filesystem used by the demo application.

Native​Search​Path


public readonly attribute NativeSearchPath → (Path)

Optional search path to native libraries.

Resolution


public readonly attribute Resolution → (Vec2I)

The configured screen resolution.

Logging

Logger


public static readonly attribute Logger → (ILogger)

The logger object of this class.