openVR API IVRSettings 简介
发布时间
阅读量:
阅读量
IVRSettings
用来处理设置信息的接口.
*const char GetSettingsErrorNameFromEnum( EVRSettingsError eError )
将eError以字符串的形式返回.
*bool Sync( bool bForce = false, EVRSettingsError peError = nullptr )
如果文件同步了就返回true.
**xxx Getxxx( const char *pchSection, const char pchSettingsKey, bool bDefaultValue, EVRSettingsError peError = nullptr )
这里有一系列的接口,来获取配置文件中,特定节,特定键值的特定类型值,例如:
- VR_OUT_STRING GetBool( const char * pchSection, const char * pchSettingsKey, bool bDefaultValue = false, EVRSettingsError ** peError = nullptr )
- int32_t GetInt32( const char * pchSection, const char * pchSett
全部评论 (0)
还没有任何评论哟~
