(tex)
| 1163 | } |
| 1164 | |
| 1165 | bindTexture(tex) { |
| 1166 | // bind texture using gl context + glTarget and |
| 1167 | // generated gl texture object |
| 1168 | this.GL.bindTexture(this.GL.TEXTURE_2D, tex.getTexture().texture); |
| 1169 | } |
| 1170 | |
| 1171 | unbindTexture() { |
| 1172 | // unbind per above, disable texturing on glTarget |
no test coverage detected