StereoKitApp

This class contains functions for running the StereoKit library!

Static Fields and Properties

   
Runtime ActiveRuntime Since we can fallback to a different Runtime, this lets you check to see which Runtime was successfully initialized.
bool IsInitialized Has StereoKit been successfully initialized already? If initialization was attempted and failed, this value will be false.
Settings settings Settings for more detailed initialization of StereoKit! Set these before calling Initialize, otherwise they’ll be ignored.
SystemInfo System This structure contains information about the current system and its capabilites. There’s a lot of different MR devices, so it’s nice to have code for systems with particular characteristics!
UInt64 VersionId An integer version Id! This is defined using a hex value with this format:
string VersionName Human-readable version name embedded in the StereoKitC DLL.

Static Methods

   
Initialize Initializes StereoKit window, default resources, systems, etc. Set settings before calling this function, if defaults need changed!
Quit Lets StereoKit know it should quit! It’ll finish the current frame, and after that Step will return that it wants to exit.
Shutdown Shuts down all StereoKit initialized systems. Release your own StereoKit created assets before calling this.
Step Steps all StereoKit systems, and inserts user code via callback between the appropriate system updates.