beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Texture
Ops.Gl.Texture

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

collections

related ops

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)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
copyTexture:


Credits


Changelog


feature : added anisotropic texture filtering switch
2020-01-28 - andro

Examples using Texture

Public Patches using Texture