mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 18:52:44 +01:00
graphics: Add comments
This commit is contained in:
parent
781554ecb9
commit
3349a2c520
2
image.go
2
image.go
@ -486,6 +486,8 @@ type DrawTrianglesOptions struct {
|
|||||||
//
|
//
|
||||||
// When the image i is disposed, DrawTriangles does nothing.
|
// When the image i is disposed, DrawTriangles does nothing.
|
||||||
//
|
//
|
||||||
|
// Internal mipmap is not used on DrawTriangles.
|
||||||
|
//
|
||||||
// Note that this API is experimental.
|
// Note that this API is experimental.
|
||||||
func (i *Image) DrawTriangles(vertices []Vertex, indices []uint16, img *Image, options *DrawTrianglesOptions) {
|
func (i *Image) DrawTriangles(vertices []Vertex, indices []uint16, img *Image, options *DrawTrianglesOptions) {
|
||||||
i.copyCheck()
|
i.copyCheck()
|
||||||
|
Loading…
Reference in New Issue
Block a user