diff --git a/Docs/AngelScriptAPI.h b/Docs/AngelScriptAPI.h index cc8ffff2e..ac10c88f6 100644 --- a/Docs/AngelScriptAPI.h +++ b/Docs/AngelScriptAPI.h @@ -4140,6 +4140,7 @@ uint numVertices; ObjectAnimation objectAnimation; bool occludee; bool occluder; +bool optimizeBufferSize; /* readonly */ int refs; float shadowDistance; diff --git a/Docs/LuaScriptAPI.dox b/Docs/LuaScriptAPI.dox index ff9be73f2..a77859bc8 100644 --- a/Docs/LuaScriptAPI.dox +++ b/Docs/LuaScriptAPI.dox @@ -1968,6 +1968,7 @@ Methods: - void SetMaterial(Material* material) - void SetMaxVertices(unsigned num) - void SetMaxIndices(unsigned num) +- void SetOptimizeBufferSize(bool enable) - bool AddDecal(Drawable* target, const Vector3& worldPosition, const Quaternion& worldRotation, float size, float aspectRatio, float depth, const Vector2& topLeftUV, const Vector2& bottomRightUV, float timeToLive = 0.0f, float normalCutoff = 0.1f, unsigned subGeometry = M_MAX_UNSIGNED) - void RemoveDecals(unsigned num) - void RemoveAllDecals() @@ -1977,6 +1978,7 @@ Methods: - unsigned GetNumIndices() const - unsigned GetMaxVertices() const - unsigned GetMaxIndices() const +- bool GetOptimizeBufferSize() const Properties: @@ -1986,6 +1988,7 @@ Properties: - unsigned numIndices (readonly) - unsigned maxVertices - unsigned maxIndices +- bool optimizeBufferSize <a name="Class_Deserializer"></a> ### Deserializer diff --git a/Docs/ScriptAPI.dox b/Docs/ScriptAPI.dox index 1b5075e2e..47a85f7f2 100644 --- a/Docs/ScriptAPI.dox +++ b/Docs/ScriptAPI.dox @@ -1358,6 +1358,7 @@ namespace Urho3D - %Material : ResourceRef - %Max %Vertices : int - %Max %Indices : int +- %Optimize %Buffer %Size : bool - %Can %Be %Occluded : bool - %Draw %Distance : float - %Max %Lights : int @@ -6248,6 +6249,7 @@ Properties: - ObjectAnimation@ objectAnimation - bool occludee - bool occluder +- bool optimizeBufferSize - int refs // readonly - float shadowDistance - uint shadowMask diff --git a/Source/Urho3D/.soversion b/Source/Urho3D/.soversion index 20f49513e..0e24a92ff 100644 --- a/Source/Urho3D/.soversion +++ b/Source/Urho3D/.soversion @@ -1 +1 @@ -0.1.11 +0.1.12