Texture constructor
Texture(
- Image image
Implementation
Texture(this.image)
: _size = Vector2(image.width.toDouble(), image.height.toDouble()),
sortIndex = image.hashCode % 100;
Texture(this.image)
: _size = Vector2(image.width.toDouble(), image.height.toDouble()),
sortIndex = image.hashCode % 100;