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

TextTexture_v6 Op


Generates a texture of Text using one of the font ops

Render text into a texture.

Size parameter

AUTO - Texture Size will be calculated from fontsize and the amount of text. You may want to use another op to add linebreaks to the text.

MANUAL - texture height will be calculated automatically. Line breaks will be added when text overflows the given width in pixels.


Padding will add Pixels to the left,right,up and bottom sides of the texture. This will be added on top of the size parameter settings.

Edit Documentation

Full Name
  • Ops.Gl.Textures.TextTexture_v6
  • Core Op - Official cables op
AuthorTest Patches



Render (Trigger)

trigger input


Draw Mesh (Number:boolean )

check if rectangle with the texture should be drawn

Scale Mesh (Number)

size of the mesh

Size index (Number:integer )
Width (Number:integer )
Height (Number:integer )
Auto Height (Number:boolean )
text (String)

text to be put in the texture

Auto Line Breaks (Number:boolean )


font (String)

the font to be used

weight (String)
fontSize (Number)

font size

align index (Number:integer )
Vertical align index (Number:integer )
Letter Spacing (Number)
Line Height Add (Number)
Padding Y Top (Number:integer )
Padding Y Bottom (Number:integer )
Padding X (Number:integer )


filter index (Number:integer )
Wrap index (Number:integer )
Anisotropic index (Number:integer )
Reuse Texture (Number:boolean )

check if texture should be reused

Show Debug (Number:boolean )

show outlines for debugging

Redraw On Font Load (Number:boolean )

Text Color

r (Number)

r color of text

g (Number)

g color of text

b (Number)

b color of text

Opacity (Number)

alpha value of texture


background R (Number)
background G (Number)
background B (Number)
background A (Number)


Next (Trigger)

trigger output

Ratio (Number)

width / height ratio of texture

texture (Object)

texture output

Aspect (Number)

aspect ratio of texture canvas

Num Lines (Number)

amount of lines in text

Usages of TextTexture_v6

  • Examples
  • Public
  • My Patches
  • Ops


added core lib: cgl_wireframesuser avatarpandur - 2020-08-09
Ops.User.pandur.Text4 renamed to Ops.Gl.Textures.TextTexture4user avatarpandur - 2020-08-09
Ops.Gl.Textures.TextTexture4 renamed to Ops.Gl.Textures.TextTexture_v4user avatarpandur - 2020-08-09
cloned op from Ops.Gl.Textures.TextTexture_v4user avatarpandur - 2023-05-17
renameOps.Patch.PIabKGw.TextTexture_v4 renamed to Ops.User.pandur.TextTexture5user avatarpandur - 2023-05-19
renameOps.User.pandur.TextTexture5 renamed to Ops.Gl.Textures.TextTexture_v5user avatarpandur - 2023-05-19
renameOps.Gl.Textures.TextTexture_v5 renamed to Ops.Dev.Gl.Textures.TextTexture5user avatarpandur - 2023-05-30
renameOps.Dev.Gl.Textures.TextTexture5 renamed to Ops.Gl.Textures.TextTexture_v5user avatarpandur - 2023-07-07
featureforce redraw when a font was loaded, to make sure we are using the correct fontuser avatarpandur - 2024-01-11
cloned op from Ops.Gl.Textures.TextTexture_v5user avatarpandur - 2024-01-15
renameOps.Patch.Pmlapr1.TextTexture_v6 renamed to Ops.Gl.Textures.TextTexture_v6user avatarpandur - 2024-01-15
bugfixmany small fixed with alignment, padding and text sizeuser avatarpandur - 2024-01-15
featureadded fixes for positioning with different paddings, alignments, negative lineheight add etc.user avatarpandur - 2024-01-22