MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / toString

Method toString

src/main/java/field/graphics/Texture.java:604–607  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

602// int was =GL11.glGetInteger(GL_TEXTURE_BINDING_2D);
603
604 glBindTexture(specification.target, s.name);
605 glTexSubImage2D(specification.target, 0, 0, 0, specification.width, specification.height, specification.format,
606 specification.type, from);
607 if (specification.highQuality) {
608 glGenerateMipmap(specification.target);
609 }
610 glBindTexture(specification.target, 0);

Callers 2

uploadMethod · 0.45
uploadLayerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected