Texture.fromBitmap

Creates the texture from a bitmap.

class Texture
void
fromBitmap
(
Bitmap bitmap
,
string name = "Bitmap"
)

Meta