Browse Source

Travis CI: API documentation update at 2014-01-27 06:40:45 UTC.
[ci skip]

urho3d-travis-ci 12 years ago
parent
commit
d2f98dddcc
3 changed files with 112 additions and 0 deletions
  1. 62 0
      Docs/AngelScriptAPI.h
  2. 4 0
      Docs/LuaScriptAPI.dox
  3. 46 0
      Docs/ScriptAPI.dox

+ 62 - 0
Docs/AngelScriptAPI.h

@@ -103,6 +103,7 @@ TU_ALBEDOBUFFER,
 TU_NORMALBUFFER,
 TU_DEPTHBUFFER,
 TU_LIGHTBUFFER,
+TU_VOLUMEMAP,
 MAX_MATERIAL_TEXTURE_UNITS,
 MAX_TEXTURE_UNITS,
 };
@@ -1521,6 +1522,7 @@ class Image
 void SendEvent(const String&, VariantMap& = VariantMap ( ));
 bool Load(File);
 bool Save(File) const;
+bool LoadColorLUT(File);
 void FlipVertical();
 void SaveBMP(const String&);
 void SavePNG(const String&);
@@ -2579,6 +2581,63 @@ bool dataLost;
 RenderSurface renderSurface;
 };
 
+class Texture3D
+{
+// Methods:
+void SendEvent(const String&, VariantMap& = VariantMap ( ));
+bool Load(File);
+bool Save(File) const;
+void SetNumLevels(uint);
+void ClearDataLost();
+bool SetSize(int, int, uint, TextureUsage = TEXTURE_STATIC);
+bool Load(Image, bool = false);
+
+// Properties:
+/* (readonly) */
+int refs;
+/* (readonly) */
+int weakRefs;
+/* (readonly) */
+ShortStringHash type;
+/* (readonly) */
+ShortStringHash baseType;
+/* (readonly) */
+String typeName;
+/* (readonly) */
+String category;
+String name;
+/* (readonly) */
+uint memoryUse;
+/* (readonly) */
+uint useTimer;
+/* (readonly) */
+TextureUsage usage;
+/* (readonly) */
+uint format;
+/* (readonly) */
+bool compressed;
+/* (readonly) */
+uint levels;
+/* (readonly) */
+int width;
+/* (readonly) */
+int height;
+/* (readonly) */
+Array<int> levelWidth;
+/* (readonly) */
+Array<int> levelHeight;
+TextureFilterMode filterMode;
+Array<TextureAddressMode> addressMode;
+Color borderColor;
+bool sRGB;
+Texture backupTexture;
+Array<int> mipsToSkip;
+/* (readonly) */
+bool dataLost;
+/* (readonly) */
+RenderSurface renderSurface;
+};
+
 class TextureCube
 {
 // Methods:
@@ -3080,6 +3139,8 @@ Color ambientEndColor;
 Color fogColor;
 float fogStart;
 float fogEnd;
+float fogHeight;
+float fogHeightScale;
 int priority;
 bool override;
 bool ambientGradient;
@@ -4228,6 +4289,7 @@ Array<Viewport> viewports;
 RenderPath defaultRenderPath;
 /* (readonly) */
 Zone defaultZone;
+bool hdrRendering;
 bool specularLighting;
 int textureAnisotropy;
 TextureFilterMode textureFilterMode;

+ 4 - 0
Docs/LuaScriptAPI.dox

@@ -1335,6 +1335,7 @@ Methods:
 - void SetViewport(unsigned index, Viewport* viewport)
 - void SetDefaultRenderPath(RenderPath* renderPath)
 - void SetDefaultRenderPath(XMLFile* file)
+- void SetHDRRendering(bool enable)
 - void SetSpecularLighting(bool enable)
 - void SetTextureAnisotropy(int level)
 - void SetTextureFilterMode(TextureFilterMode mode)
@@ -1357,6 +1358,7 @@ Methods:
 - unsigned GetNumViewports() const
 - Viewport* GetViewport(unsigned index) const
 - RenderPath* GetDefaultRenderPath() const
+- bool GetHDRRendering() const
 - bool GetSpecularLighting() const
 - bool GetDrawShadows() const
 - int GetTextureAnisotropy() const
@@ -1401,6 +1403,7 @@ Properties:
 
 - unsigned numViewports
 - RenderPath* defaultRenderPath
+- bool HDRRendering
 - bool specularLighting
 - bool drawShadows
 - int textureAnisotropy
@@ -5303,6 +5306,7 @@ Properties:
 - int TU_INDIRECTION
 - int TU_DEPTHBUFFER
 - int TU_LIGHTBUFFER
+- int TU_VOLUMEMAP
 - int MAX_TEXTURE_UNITS
 - int SP_FRAME
 - int SP_CAMERA

+ 46 - 0
Docs/ScriptAPI.dox

@@ -99,6 +99,7 @@ namespace Urho3D
 - TU_NORMALBUFFER
 - TU_DEPTHBUFFER
 - TU_LIGHTBUFFER
+- TU_VOLUMEMAP
 - MAX_MATERIAL_TEXTURE_UNITS
 - MAX_TEXTURE_UNITS
 
@@ -1453,6 +1454,7 @@ Methods:
 - void SendEvent(const String&, VariantMap& = VariantMap ( ))
 - bool Load(File@)
 - bool Save(File@) const
+- bool LoadColorLUT(File@)
 - void FlipVertical()
 - void SaveBMP(const String&)
 - void SavePNG(const String&)
@@ -2333,6 +2335,47 @@ Properties:
 - RenderSurface@ renderSurface (readonly)
 
 
+### Texture3D
+
+Methods:
+
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
+- bool Load(File@)
+- bool Save(File@) const
+- void SetNumLevels(uint)
+- void ClearDataLost()
+- bool SetSize(int, int, uint, TextureUsage = TEXTURE_STATIC)
+- bool Load(Image@, bool = false)
+
+Properties:
+
+- int refs (readonly)
+- int weakRefs (readonly)
+- ShortStringHash type (readonly)
+- ShortStringHash baseType (readonly)
+- String typeName (readonly)
+- String category (readonly)
+- String name
+- uint memoryUse (readonly)
+- uint useTimer (readonly)
+- TextureUsage usage (readonly)
+- uint format (readonly)
+- bool compressed (readonly)
+- uint levels (readonly)
+- int width (readonly)
+- int height (readonly)
+- int[] levelWidth (readonly)
+- int[] levelHeight (readonly)
+- TextureFilterMode filterMode
+- TextureAddressMode[] addressMode
+- Color borderColor
+- bool sRGB
+- Texture@ backupTexture
+- int[] mipsToSkip
+- bool dataLost (readonly)
+- RenderSurface@ renderSurface (readonly)
+
+
 ### TextureCube
 
 Methods:
@@ -2736,6 +2779,8 @@ Properties:
 - Color fogColor
 - float fogStart
 - float fogEnd
+- float fogHeight
+- float fogHeightScale
 - int priority
 - bool override
 - bool ambientGradient
@@ -3658,6 +3703,7 @@ Properties:
 - Viewport@[] viewports
 - RenderPath@ defaultRenderPath
 - Zone@ defaultZone (readonly)
+- bool hdrRendering
 - bool specularLighting
 - int textureAnisotropy
 - TextureFilterMode textureFilterMode