mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +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
|
// 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
|
// 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
|
// 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
|
// commands are separated.
|
||||||
// case is when you use an offscreen as a render source. An offscreen doesn't
|
// Another case is when you use an offscreen as a render source. An offscreen
|
||||||
// share the texture atlas with high probability.
|
// doesn't share the texture atlas with high probability.
|
||||||
//
|
//
|
||||||
// For more performance tips, see https://ebiten.org/documents/performancetips.html
|
// For more performance tips, see https://ebiten.org/documents/performancetips.html
|
||||||
func (i *Image) DrawImage(img *Image, options *DrawImageOptions) {
|
func (i *Image) DrawImage(img *Image, options *DrawImageOptions) {
|
||||||
|
Loading…
Reference in New Issue
Block a user