createTexture method
Texture
createTexture(
- int width,
- int height, [
- bool mipmap = false,
- TextureFormat textureFormat = TextureFormat.rgba,
override
Creates a texture for the target platform.
Remember to call deleteTexture to free resources when done.
Implementation
@override
Texture createTexture(int width, int height,
[bool mipmap = false,
TextureFormat textureFormat = TextureFormat.rgba]) =>
_WGLTexture(this, width, height, mipmap, textureFormat);