asTexture

inline fun NativeImage.asTexture(name: String = "Texture NativeImage@"): DynamicTexture
fun NativeImage.asTexture(nameSupplier: Supplier<String> = Supplier { "Texture NativeImage@${this.hashCode().toString(16)} (${this.width}x${this.height})" }): DynamicTexture