Options for the textureResize function.

Hierarchy

  • TextureResizeOptions

Properties

Resampling filter method. LANCZOS3 is sharper, LANCZOS2 is smoother.

pattern: RegExp

Pattern identifying textures to resize, matched to name or URI.

size: vec2

Maximum width/height to enforce, preserving aspect ratio. For example, a 4096x8192 texture, resized with limit [2048, 2048] will be reduced to 1024x2048.

Function symbol, f(📦) → 📦, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy TypeDoc documentation Copyright 2021 under MIT license