mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
ebitenutil: Add comments
This commit is contained in:
parent
31ae457a8c
commit
f5a283effd
@ -26,6 +26,9 @@ import (
|
|||||||
|
|
||||||
// NewImageFromFile loads the file with path and returns ebiten.Image and image.Image.
|
// NewImageFromFile loads the file with path and returns ebiten.Image and image.Image.
|
||||||
//
|
//
|
||||||
|
// Image decoders must be imported when using this function. For example,
|
||||||
|
// if you want to load a PNG image, you'd need to add `_ "image/png"` to the import section.
|
||||||
|
//
|
||||||
// How to solve path depends on your environment. This varies on your desktop or web browser.
|
// How to solve path depends on your environment. This varies on your desktop or web browser.
|
||||||
// Note that this doesn't work on mobiles.
|
// Note that this doesn't work on mobiles.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user