There is a newer version of this op!
This version will not receive any updates. It is recommended to use a newer version.
Current version: Ops.Gl.Texture_v2
Load an image as a texture
summary (oneliner)
Load an image as a webGL Texture.
doc
issues
youtube id
caniuse query
collections
Inputs
file (string /Number)
Path and filename of the image
filter index (integer /Number)
wrap index (integer /Number)
flip (boolean /Number)
Flip image on the Y axis
Anisotropic index (integer /Number)
Outputs
texture (Object)
The texture object. To be used in e.g. Material ops.
width (Number)
Width of the image
height (Number)
Height of the image
loading (Number)
true if the image ist still loading
Aspect Ratio (Number)
Changelog
feature : added anisotropic texture filtering switch
2020-01-28 - andro
2020-01-28 - andro