mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
graphics: Add comments about DrawImage
This commit is contained in:
parent
7dafbb2e4e
commit
aa2919ada4
3
image.go
3
image.go
@ -225,7 +225,8 @@ func (i *Image) disposeMipmaps() {
|
||||
// Even when all the above conditions are satisfied, multiple draw commands can be used in really rare cases. Ebiten
|
||||
// images usually share an internal automatic texture atlas, but when you consume the atlas, or you create a huge
|
||||
// image, those images cannot be on the same texture atlas. In this case, draw commands are separated. The texture
|
||||
// atlas size is 4096x4096 so far.
|
||||
// atlas size is 4096x4096 so far. Another case is when you use an offscreen as a render source. An offscreen doesn't
|
||||
// share the texture atlas with high probability.
|
||||
//
|
||||
// For more performance tips, see https://github.com/hajimehoshi/ebiten/wiki/Performance-Tips.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user