浏览代码

Merge pull request #5654 from TatumCreative/texture-flipy

Updated texture.flipY in docs
Mr.doob 10 年之前
父节点
当前提交
a13116ef7a
共有 2 个文件被更改,包括 12 次插入1 次删除
  1. 11 0
      docs/api/textures/CompressedTexture.html
  2. 1 1
      docs/api/textures/Texture.html

+ 11 - 0
docs/api/textures/CompressedTexture.html

@@ -39,6 +39,17 @@
 
 		<h2>Properties</h2>
 
+		<h3>[property:boolean flipY]</h3>
+		
+		<div>
+			False by default. Flipping textures does not work for compressed textures.
+		</div>
+
+		<h3>[property:boolean generateMipmaps]</h3>
+		
+		<div>
+			False by default. Mipmaps can't be generated for compressed textures
+		</div>
 
 
 		<h2>Methods</h2>

+ 1 - 1
docs/api/textures/Texture.html

@@ -105,7 +105,7 @@
 
 		<h3>[property:boolean flipY]</h3>
 		<div>
-		False by default, set this to true if the texture needs to be flipped vertically.
+		True by default. Flips the image's Y axis to match the WebGL texture coordinate space.
 		</div>
 
 		<h3>[property:array mipmaps]</h3>