clarify doc
This commit is contained in:
parent
275fc03413
commit
53cd80eb34
|
@ -49,6 +49,8 @@ func (p Picture) Delete() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Texture returns a pointer to the underlying OpenGL texture of a picture.
|
// Texture returns a pointer to the underlying OpenGL texture of a picture.
|
||||||
|
//
|
||||||
|
// Note, that the parent of this texture is pixelgl.NoOpDoer.
|
||||||
func (p Picture) Texture() *pixelgl.Texture {
|
func (p Picture) Texture() *pixelgl.Texture {
|
||||||
return p.texture
|
return p.texture
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue