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

Method wrapFrontTexture

core/src/processing/opengl/PGL.java:546–559  ·  view source on GitHub ↗
(Texture texture)

Source from the content-addressed store, hash-verified

544
545
546 protected Texture wrapFrontTexture(Texture texture) {
547 if (texture == null) {
548 texture = new Texture(graphics);
549 texture.init(graphics.width, graphics.height,
550 glColorTex.get(frontTex), TEXTURE_2D, RGBA,
551 fboWidth, fboHeight, NEAREST, NEAREST,
552 CLAMP_TO_EDGE, CLAMP_TO_EDGE);
553 texture.invertedY(true);
554 texture.colorBuffer(true);
555 } else {
556 texture.glName = glColorTex.get(frontTex);
557 }
558 return texture;
559 }
560
561
562 protected void bindFrontTexture() {

Callers 1

beginOnscreenDrawMethod · 0.80

Calls 4

invertedYMethod · 0.80
colorBufferMethod · 0.80
initMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected