瀏覽代碼

Travis CI: API documentation update at 2016-09-23 15:48:26 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/a1e2bc9bd3fe0966bb1aae1e911b96b006d155ce

Message: Make shader cache location configurable, default urho3d/shadercache in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610.

urho3d-travis-ci 9 年之前
父節點
當前提交
52efdb31cb
共有 4 個文件被更改,包括 6 次插入1 次删除
  1. 1 0
      Docs/AngelScriptAPI.h
  2. 3 0
      Docs/LuaScriptAPI.dox
  3. 1 0
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 1 - 0
Docs/AngelScriptAPI.h

@@ -5168,6 +5168,7 @@ bool sRGB;
 bool sRGBSupport;
 /* readonly */
 bool sRGBWriteSupport;
+String shaderCacheDir;
 /* readonly */
 bool tripleBuffer;
 /* readonly */

+ 3 - 0
Docs/LuaScriptAPI.dox

@@ -2548,6 +2548,7 @@ Methods:
 - void EndDumpShaders()
 - void PrecacheShaders(Deserializer& source)
 - void PrecacheShaders(const String fileName)
+- void SetShaderCacheDir(const String path)
 - bool IsInitialized() const
 - void* GetExternalWindow() const
 - const String GetWindowTitle() const
@@ -2579,6 +2580,7 @@ Methods:
 - bool GetSRGBSupport() const
 - bool GetSRGBWriteSupport() const
 - IntVector2 GetDesktopResolution() const
+- const String GetShaderCacheDir() const
 - unsigned GetAlphaFormat()
 - unsigned GetLuminanceFormat()
 - unsigned GetLuminanceAlphaFormat()
@@ -2630,6 +2632,7 @@ Properties:
 - bool sRGBSupport (readonly)
 - bool sRGBWriteSupport (readonly)
 - IntVector2 desktopResolution (readonly)
+- String shaderCacheDir
 
 <a name="Class_HierarchyContainer"></a>
 ### HierarchyContainer : UIElement

+ 1 - 0
Docs/ScriptAPI.dox

@@ -7138,6 +7138,7 @@ Properties:
 - bool sRGB
 - bool sRGBSupport // readonly
 - bool sRGBWriteSupport // readonly
+- String shaderCacheDir
 - bool tripleBuffer // readonly
 - StringHash type // readonly
 - String typeName // readonly

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.1.8
+0.1.9