|
| virtual TSharedPtr< class IXRTrackingSystem, ESPMode::ThreadSafe > | CreateTrackingSystem ()=0 |
| | Attempts to create a new head tracking device interface 更多...
|
| |
|
virtual FString | GetAudioInputDevice () |
| | Get name of audio input device where the HMD was last connected
|
| |
|
virtual FString | GetAudioOutputDevice () |
| | Get name of audio output device where the HMD was last connected
|
| |
| virtual uint64 | GetGraphicsAdapterLuid () |
| | Get LUID of graphics adapter where the HMD was last connected. 更多...
|
| |
|
virtual void | GetModuleAliases (TArray< FString > &AliasesOut) const |
| | Returns an array of alternative ini/config names for this module (helpful if the module's name changes, so we can have back-compat)
|
| |
|
virtual FString | GetModuleKeyName () const =0 |
| | Returns the key into the HMDPluginPriority section of the config file for this module
|
| |
|
float | GetModulePriority () const |
| | Returns the priority of this module from INI file configuration
|
| |
|
virtual TSharedPtr< IHeadMountedDisplayVulkanExtensions, ESPMode::ThreadSafe > | GetVulkanExtensions () |
| | Extensions: If the HMD supports the various extensions listed below, it should return a valid pointer to an implementation contained within it.
|
| |
| virtual bool | IsHMDConnected () |
| | Test to see whether HMD is connected. 更多...
|
| |
| virtual bool | PreInit () |
| | Optionally pre-initialize the HMD module. 更多...
|
| |
|
virtual void | StartupModule () override |
| | Register module as an HMD on startup.
|
| |
| virtual bool | IsGameModule () const |
| | Returns true if this module hosts gameplay code 更多...
|
| |
|
virtual void | PostLoadCallback () |
| | Called after the module has been reloaded
|
| |
|
virtual void | PreUnloadCallback () |
| | Called before the module has been unloaded
|
| |
| virtual void | ShutdownModule () |
| | Called before the module is unloaded, right before the module object is destroyed. 更多...
|
| |
| virtual void | StartupModule () |
| | Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. 更多...
|
| |
| virtual bool | SupportsAutomaticShutdown () |
| | Override this to set whether your module would like cleanup on application shutdown 更多...
|
| |
| virtual bool | SupportsDynamicReloading () |
| | Override this to set whether your module is allowed to be unloaded on the fly 更多...
|
| |
|
virtual | ~IModuleInterface () |
| | Note: Even though this is an interface class we need a virtual destructor here because modules are deleted via a pointer to this interface
|
| |
The public interface of the HeadmountedDisplay Module
| virtual uint64 IHeadMountedDisplayModule::GetGraphicsAdapterLuid |
( |
| ) |
|
|
inlinevirtual |
Get LUID of graphics adapter where the HMD was last connected.
@TODO currently, for mac, GetGraphicsAdapterLuid() is used to return a device index (how the function "GetGraphicsAdapter" used to work), not a ID... eventually we want the HMD module to return the MTLDevice's registryID, but we cannot fully handle that until we drop support for 10.12 NOTE: this is why we use -1 as a sentinel value representing "no device" (instead of 0, which is used in the LUID case)