ebiten: update documents

This commit is contained in:
Hajime Hoshi 2023-03-23 19:56:25 +09:00
parent c7214ef6fb
commit 2a5a0a8895

View File

@ -405,7 +405,8 @@ const MaxIndicesNum = graphics.IndicesCount
// and adjust the color elements in the vertices. For an actual implementation, // and adjust the color elements in the vertices. For an actual implementation,
// see the example 'vector'. // see the example 'vector'.
// //
// Vertex contains color values, which are interpreted as straight-alpha colors. // Vertex contains color values, which are interpreted as straight-alpha colors by default.
// This depends on the option's ColorScaleMode.
// //
// If len(indices) is not multiple of 3, DrawTriangles panics. // If len(indices) is not multiple of 3, DrawTriangles panics.
// //