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

Method bind

core/src/processing/opengl/Texture.java:675–684  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

673
674
675 public void bind() {
676 // Binding a texture automatically enables texturing for the
677 // texture target from that moment onwards. Unbinding the texture
678 // won't disable texturing.
679 if (!pgl.texturingIsEnabled(glTarget)) {
680 pgl.enableTexturing(glTarget);
681 }
682 pgl.bindTexture(glTarget, glName);
683 bound = true;
684 }
685
686
687 public void unbind() {

Callers 4

bindTexturesMethod · 0.95
usingMipmapsMethod · 0.95
usingRepeatMethod · 0.95
addTextureMethod · 0.95

Calls 3

texturingIsEnabledMethod · 0.80
bindTextureMethod · 0.80
enableTexturingMethod · 0.45

Tested by

no test coverage detected