Texture_v2 Op

Texture

Load an image as a texture


<p>Load an image as a webGL Texture.</p> <p>supported formats:</p> <ul> <li>PNG</li> <li>JPG</li> <li>JXL</li> <li>WEBP</li> <li>GIF (not animated)</li> </ul>


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


INPUT PORTS


File (String)
Filter index (Number:

<i>integer</i>

)
 nearest  linear  mipmap 
Wrap index (Number:

<i>integer</i>

)

Anisotropic index (Number:

<i>integer</i>

)
 0  1  2  4  8  16 
Data Format index (Number:

<i>integer</i>

)
 R  RG  RGB  RGBA  SRGBA 
Flip (Number:

<i>boolean</i>

)

Active (Number:

<i>boolean</i>

)

Save Memory (Number:

<i>boolean</i>

)

Add Cachebuster (Number:

<i>boolean</i>

)

Reload (Trigger)

OUTPUT PORTS


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

<i>boolean</i>

Number)

Loading (

<i>boolean</i>

Number)


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