diff --git a/doc/source/runtime.rst b/doc/source/runtime.rst index 80360d718a002ae610d65cc05073bb47992839e7..f369a2668c35db35c52746048df6ba79ea82b182 100644 --- a/doc/source/runtime.rst +++ b/doc/source/runtime.rst @@ -394,7 +394,11 @@ Images ^^^^^^ .. class:: Image(context, flags, format, shape=None, pitches=None, hostbuf=None) - *shape* is a 2- or 3-tuple. + See :class:`mem_flags` for values of *flags*. + *shape* is a 2- or 3-tuple. *format* is an instance of :class:`ImageFormat`. + *pitches* is a 1-tuple for 2D images and a 2-tuple for 3D images, indicating + the distance in bytes from one scan line to the next, and from one 2D image + slice to the next. If *hostbuf* is given and *shape* is `None`, then *hostbuf.shape* is used as the *shape* parameter.