Browse Source

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 years ago
parent
commit
52efdb31cb
4 changed files with 6 additions and 1 deletions
  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;
 bool sRGBSupport;
 /* readonly */
 /* readonly */
 bool sRGBWriteSupport;
 bool sRGBWriteSupport;
+String shaderCacheDir;
 /* readonly */
 /* readonly */
 bool tripleBuffer;
 bool tripleBuffer;
 /* readonly */
 /* readonly */

+ 3 - 0
Docs/LuaScriptAPI.dox

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

+ 1 - 0
Docs/ScriptAPI.dox

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

+ 1 - 1
Source/Urho3D/.soversion

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