getDefaultTexture method
dynamic
getDefaultTexture()
Implementation
getDefaultTexture() {
if (this.defaultTexture == null) {
var texture = new Texture(null);
texture.minFilter = NearestFilter;
texture.magFilter = NearestFilter;
this._uploadTexture(texture);
this.defaultTexture = this.getTextureGPU(texture);
}
return this.defaultTexture;
}