Browse Source

GLTFLoader: Update comment (#25034)

Takahiro 2 years ago
parent
commit
5abf8b1203
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/loaders/GLTFLoader.js

+ 1 - 1
examples/jsm/loaders/GLTFLoader.js

@@ -2843,7 +2843,7 @@ class GLTFParser {
 	/**
 	 * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#textures
 	 * @param {number} textureIndex
-	 * @return {Promise<THREE.Texture>}
+	 * @return {Promise<THREE.Texture|null>}
 	 */
 	loadTexture( textureIndex ) {