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

Method drawTexture

core/src/processing/opengl/PGL.java:1242–1250  ·  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

1240 * Not an approved function, this will change or be removed in the future.
1241 */
1242 public void drawTexture(int target, int id, int width, int height,
1243 int X0, int Y0, int X1, int Y1) {
1244 // If a texture is drawing on a viewport of the same size as its resolution,
1245 // the pixel factor is 1:1, so we override the surface's pixel factor.
1246 drawTexture(target, id, width, height,
1247 0, 0, width, height, 1,
1248 X0, Y0, X1, Y1,
1249 X0, Y0, X1, Y1);
1250 }
1251
1252
1253 /**

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