Преглед изворни кода

Travis CI: API documentation update at 2016-10-01 13:05:53 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/0ea9ed6e340c2889e48161f428e9c7ce2c686a4b

Message: Possibility in DecalSet to size VB/IB to only size used by decals. Default off; causes reallocation whenever decals are added/removed and thus can have worse performance.

urho3d-travis-ci пре 9 година
родитељ
комит
1377657b2d
4 измењених фајлова са 7 додато и 1 уклоњено
  1. 1 0
      Docs/AngelScriptAPI.h
  2. 3 0
      Docs/LuaScriptAPI.dox
  3. 2 0
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 1 - 0
Docs/AngelScriptAPI.h

@@ -4140,6 +4140,7 @@ uint numVertices;
 ObjectAnimation objectAnimation;
 ObjectAnimation objectAnimation;
 bool occludee;
 bool occludee;
 bool occluder;
 bool occluder;
+bool optimizeBufferSize;
 /* readonly */
 /* readonly */
 int refs;
 int refs;
 float shadowDistance;
 float shadowDistance;

+ 3 - 0
Docs/LuaScriptAPI.dox

@@ -1968,6 +1968,7 @@ Methods:
 - void SetMaterial(Material* material)
 - void SetMaterial(Material* material)
 - void SetMaxVertices(unsigned num)
 - void SetMaxVertices(unsigned num)
 - void SetMaxIndices(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)
 - 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 RemoveDecals(unsigned num)
 - void RemoveAllDecals()
 - void RemoveAllDecals()
@@ -1977,6 +1978,7 @@ Methods:
 - unsigned GetNumIndices() const
 - unsigned GetNumIndices() const
 - unsigned GetMaxVertices() const
 - unsigned GetMaxVertices() const
 - unsigned GetMaxIndices() const
 - unsigned GetMaxIndices() const
+- bool GetOptimizeBufferSize() const
 
 
 Properties:
 Properties:
 
 
@@ -1986,6 +1988,7 @@ Properties:
 - unsigned numIndices (readonly)
 - unsigned numIndices (readonly)
 - unsigned maxVertices
 - unsigned maxVertices
 - unsigned maxIndices
 - unsigned maxIndices
+- bool optimizeBufferSize
 
 
 <a name="Class_Deserializer"></a>
 <a name="Class_Deserializer"></a>
 ### Deserializer
 ### Deserializer

+ 2 - 0
Docs/ScriptAPI.dox

@@ -1358,6 +1358,7 @@ namespace Urho3D
 - %Material : ResourceRef
 - %Material : ResourceRef
 - %Max %Vertices : int
 - %Max %Vertices : int
 - %Max %Indices : int
 - %Max %Indices : int
+- %Optimize %Buffer %Size : bool
 - %Can %Be %Occluded : bool
 - %Can %Be %Occluded : bool
 - %Draw %Distance : float
 - %Draw %Distance : float
 - %Max %Lights : int
 - %Max %Lights : int
@@ -6248,6 +6249,7 @@ Properties:
 - ObjectAnimation@ objectAnimation
 - ObjectAnimation@ objectAnimation
 - bool occludee
 - bool occludee
 - bool occluder
 - bool occluder
+- bool optimizeBufferSize
 - int refs // readonly
 - int refs // readonly
 - float shadowDistance
 - float shadowDistance
 - uint shadowMask
 - uint shadowMask

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.1.11
+0.1.12