mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: update comments about DrawImage
This commit is contained in:
parent
12b5a6c3d6
commit
5f942150e0
6
image.go
6
image.go
@ -171,9 +171,9 @@ type DrawImageOptions struct {
|
||||
// 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. Another
|
||||
// case is when you use an offscreen as a render source. An offscreen doesn't
|
||||
// share the texture atlas with high probability.
|
||||
// commands are separated.
|
||||
// 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://ebiten.org/documents/performancetips.html
|
||||
func (i *Image) DrawImage(img *Image, options *DrawImageOptions) {
|
||||
|
Loading…
Reference in New Issue
Block a user