ebiten: Add links to documents/shader.html

This commit is contained in:
Hajime Hoshi 2020-09-23 16:45:00 +09:00
parent 76b701a03d
commit 9f49e68fea

View File

@ -429,6 +429,8 @@ func init() {
// DrawTrianglesShader draws triangles with the specified vertices and their indices with the specified shader.
//
// For the details about the shader, see https://ebiten.org/documents/shader.html.
//
// If len(indices) is not multiple of 3, DrawTrianglesShader panics.
//
// If len(indices) is more than MaxIndicesNum, DrawTrianglesShader panics.
@ -563,6 +565,8 @@ func init() {
// DrawRectShader draws a rectangle with the specified width and height with the specified shader.
//
// For the details about the shader, see https://ebiten.org/documents/shader.html.
//
// When one of the specified image is non-nil and is disposed, DrawRectShader panics.
//
// When the image i is disposed, DrawRectShader does nothing.