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

Texture
op id:466394d4-6c1a-4e5d-a057-0063ab0f096a
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 (string Number)

Pixel interpolation filter of the image. see: (https://open.gl/textures)


wrap (string Number)

Wrapping of the image. see: (https://open.gl/textures)


flip (boolean Number)

Flip image on the Y axis


unpackPreMultipliedAlpha (boolean Number)

Change rendering of images with alpha channel


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)

Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using Texture

Public Patches using Texture