//========= Copyright Valve Corporation ============// #pragma once
namespace vr
{
class IVRClientCore
{ public: /** Initializes the system */ virtual EVRInitError Init( vr::EVRApplicationType eApplicationType, constchar *pStartupInfo ) = 0;
/** cleans up everything in vrclient.dll and prepares the DLL to be unloaded */ virtualvoid Cleanup() = 0;
/** checks to see if the specified interface/version is supported in this vrclient.dll */ virtual EVRInitError IsInterfaceVersionValid( constchar *pchInterfaceVersion ) = 0;
/** Retrieves any interface from vrclient.dll */ virtualvoid *GetGenericInterface( constchar *pchNameAndVersion, EVRInitError *peError ) = 0;
/** Returns true if any driver has an HMD attached. Can be called outside of Init/Cleanup */ virtualbool BIsHmdPresent() = 0;
/** Returns an English error string from inside vrclient.dll which might be newer than the API DLL */ virtualconstchar *GetEnglishStringForHmdError( vr::EVRInitError eError ) = 0;
/** Returns an error symbol from inside vrclient.dll which might be newer than the API DLL */ virtualconstchar *GetIDForVRInitError( vr::EVRInitError eError ) = 0;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.