graphics: Add comments

This commit is contained in:
Hajime Hoshi 2018-10-28 19:41:39 +09:00
parent 781554ecb9
commit 3349a2c520

View File

@ -486,6 +486,8 @@ type DrawTrianglesOptions struct {
//
// When the image i is disposed, DrawTriangles does nothing.
//
// Internal mipmap is not used on DrawTriangles.
//
// Note that this API is experimental.
func (i *Image) DrawTriangles(vertices []Vertex, indices []uint16, img *Image, options *DrawTrianglesOptions) {
i.copyCheck()