createWhite static method
- GL2 gl
Creates and returns a 1x1 opaque white Texture.
Implementation
static Texture createWhite(GL2 gl) {
final texture = create(gl: gl, pixelData: _whiteTextureData, textureFlags: TextureFlags.clampST);
texture.isLoading = false;
return texture;
}