Method
GeglBufferiterator_new
Declaration [src]
GeglBufferIterator*
gegl_buffer_iterator_new (
GeglBuffer* buffer,
const GeglRectangle* roi,
gint level,
const Babl* format,
GeglAccessMode access_mode,
GeglAbyssPolicy abyss_policy,
gint max_slots
)
Description [src]
Creates a new GeglBufferIterator. The iterator can use one or more
sub-iterators to iterate over one or more GeglBuffer.
GeglBufferIterator takes care of accessing the given buffers in
the most optimal ways.
See the documentation of [method.Gegl.BufferIterator.add] and [method.Gegl.BufferIterator.next].
This method is not directly available to language bindings.
| skip-reason | babl_since_7dcbb732 |
Parameters
roi-
Type:
GeglRectangleThe region in
bufferto iterate over.The data is owned by the caller of the method. level-
Type:
gintThe level at which we are iterating. The
roiwill indicate the extent at 1:1.x,y,widthandheightare/ (2^level). format-
Type:
BablThe format we want to process this buffers data in, pass 0 to use the buffers format.
The data is owned by the caller of the method. access_mode-
Type:
GeglAccessModeWhether we need reading or writing to this buffer one of
GEGL_ACCESS_READ,GEGL_ACCESS_WRITEandGEGL_ACCESS_READWRITE. abyss_policy-
Type:
GeglAbyssPolicyHow requests outside the buffer extent are handled.
max_slots-
Type:
gintThe maximum number of buffer iterators.
Return value
Type: GeglBufferIterator
A new GeglBufferIterator with one sub-iterator.
| The returned data is owned by the instance. |