MCPcopy Index your code
hub / github.com/benfry/processing4 / drawTexture

Method drawTexture

core/src/processing/opengl/PGL.java:1285–1293  ·  view source on GitHub ↗

Not an approved function, this will change or be removed in the future.

(int target, int id, int width, int height,
                          int X0, int Y0, int X1, int Y1)

Source from the content-addressed store, hash-verified

1283 * Not an approved function, this will change or be removed in the future.
1284 */
1285 public void drawTexture(int target, int id, int width, int height,
1286 int X0, int Y0, int X1, int Y1) {
1287 // If a texture is drawing on a viewport of the same size as its resolution,
1288 // the pixel factor is 1:1, so we override the surface's pixel factor.
1289 drawTexture(target, id, width, height,
1290 0, 0, width, height, 1,
1291 X0, Y0, X1, Y1,
1292 X0, Y0, X1, Y1);
1293 }
1294
1295
1296 /**

Callers 4

beginRenderMethod · 0.95
endRenderMethod · 0.95
restoreFirstFrameMethod · 0.95
copyTextureMethod · 0.45

Calls 3

getPixelScaleMethod · 0.95
drawTexture2DMethod · 0.95
drawTextureRectMethod · 0.95

Tested by

no test coverage detected