Browse Source

Documentation update.

Lasse Öörni 14 years ago
parent
commit
84fb81684b
2 changed files with 5 additions and 2 deletions
  1. 5 1
      Docs/Reference.dox
  2. 0 1
      Engine/Core/StringUtils.h

+ 5 - 1
Docs/Reference.dox

@@ -194,7 +194,9 @@ Resources include most things in Urho3D that are loaded from mass storage during
 - Model
 - Material
 - ScriptFile
+- Shader
 - Sound
+- Technique
 - Texture2D
 - TextureCube
 - XMLFile
@@ -217,7 +219,9 @@ The same in script would look like this (note the use of a property instead of a
 healthBar.texture = cache.GetResource("Texture2D", "Textures/HealthBarBorder.png");
 \endcode
 
-Resources can also be created manually and stored to the resource cache as if they had been loaded from disk.
+Resources can also be created manually and stored to the resource cache as if they had been loaded from disk. 
+
+Memory budgets can be set per resource type: if resources consume more memory than allowed, the oldest resources will be removed from the cache if not in use anymore. By default the memory budgets are set to unlimited.
 
 
 \page Scripting Scripting

+ 0 - 1
Engine/Core/StringUtils.h

@@ -57,6 +57,5 @@ Vector4 ToVector4(const String& source, bool allowMissingCoords = false);
 String ToString(void* value);
 /// Convert an unsigned integer to string as hexadecimal.
 String ToStringHex(unsigned value);
-
 /// Return an index to a string list corresponding to the given string, or a default value if not found. The string list must be empty-terminated.
 unsigned GetStringListIndex(const String& value, const String* strings, unsigned defaultIndex, bool caseSensitive = false);