mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
ebiten: Add links to documents/shader.html
This commit is contained in:
parent
76b701a03d
commit
9f49e68fea
4
image.go
4
image.go
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user