Options for the textureResize function.


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

pattern: RegExp | null

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.

slots: RegExp | null

Pattern to match slots usage for resizing.

Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.