MCPcopy Index your code
hub / github.com/processing/processing / addToTexture

Method addToTexture

core/src/processing/opengl/FontTexture.java:223–230  ·  view source on GitHub ↗
(PGraphicsOpenGL pg, PFont.Glyph glyph)

Source from the content-addressed store, hash-verified

221
222
223 public TextureInfo addToTexture(PGraphicsOpenGL pg, PFont.Glyph glyph) {
224 int n = glyphTexinfos.length;
225 if (n == 0) {
226 glyphTexinfos = new TextureInfo[1];
227 }
228 addToTexture(pg, n, glyph);
229 return glyphTexinfos[n];
230 }
231
232
233 public boolean contextIsOutdated() {

Callers 2

addAllGlyphsToTextureMethod · 0.95
textCharImplMethod · 0.80

Calls 6

addTextureMethod · 0.95
updateGlyphsTexCoordsMethod · 0.95
arraycopyMethod · 0.80
fillMethod · 0.45
maxMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected