|
@@ -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
|