Texture constructor

Texture(
  1. String url
)

Implementation

Texture(this.url) {
  if(gl==null) {
    _pendingTextures.add(this);
  } else {
    load();
  }
}