getSize( texture, target = _size$3 ) {

		let image = texture.images ? texture.images[ 0 ] : texture.image;

		if ( image ) {

			if ( image.image !== undefined ) image = image.image;

			target.width = image.width || 1;
			target.height = image.height || 1;
			target.depth = texture.isCubeTexture ? 6 : ( image.depth || 1 );

		} else {

			target.width = target.height = target.depth = 1;

		}

		return target;

	}
Computes the size of the given texture and writes the result
into the target vector. This vector is also returned by the
method.

If no texture data are available for the compute yet, the method
returns default size values.

@param {Texture} texture - The texture to compute the size for.
@param {Vector3} target - The target vector.
@return {Vector3} The target vector.