Texture_v2 Op

Texture

Load an image as a texture


Load an image as a webGL Texture.

supported formats:

  • PNG
  • JPG
  • JXL
  • WEBP
  • GIF (not animated)

Full Name
  • Ops.Gl.Texture_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


File (String)
Filter index (Number: integer) nearest  linear  mipmap 
Wrap index (Number: integer)
Anisotropic index (Number: integer) 0  1  2  4  8  16 
Data Format index (Number: integer) R  RG  RGB  RGBA  SRGBA 
Flip (Number: boolean)
Active (Number: boolean)
Save Memory (Number: boolean)
Add Cachebuster (Number: boolean)
Reload (Trigger)

OUTPUT PORTS


Texture (Object)
Width (Number)
Height (Number)
Aspect Ratio (Number)
Loaded (booleanNumber)
Loading (booleanNumber)

Patches using Texture_v2

  • Examples
  • Public
  • My Patches

Changelog


Ops.User.pandur.Texture_v2 renamed to Ops.Gl.Texture_v2user avatarpandur - 2020-02-13 16:19
bugfixtyping in the url input will not blur elementuser avatarpandur - 2024-02-08 09:43
improvementCachebuster option default value is now false. turn on to force a reload of the image every timeuser avatarpandur - 2024-05-17 15:20