ebiten: update comments

Updates #1870
This commit is contained in:
Hajime Hoshi 2023-08-27 23:57:01 +09:00
parent a4f8c1c1dc
commit e1b77fefae

View File

@ -575,6 +575,9 @@ var _ [len(DrawTrianglesShaderOptions{}.Images) - graphics.ShaderImageCount]stru
//
// For the details about the shader, see https://ebitengine.org/en/documents/shader.html.
//
// When one of the specified image is non-nil and its size is different from (width, height), DrawTrianglesShader panics.
// When one of the specified image is non-nil and is disposed, DrawTrianglesShader panics.
//
// If len(vertices) is more than MaxVerticesCount, the exceeding part is ignored.
//
// If len(indices) is not multiple of 3, DrawTrianglesShader panics.