#N canvas 48 174 691 406 10;
#X declare -lib Gem;
#X text 452 8 GEM object;
#X obj 9 265 cnv 15 430 135 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 40 267 Inlets:;
#X text 39 352 Outlets:;
#X obj 9 227 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 18 226 Arguments:;
#X obj 8 56 cnv 15 430 165 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 449 77 cnv 15 200 280 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 453 60 Example:;
#X obj 544 290 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X obj 451 109 cnv 15 155 80 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X obj 451 83 gemhead;
#X text 17 366 Outlet 1: gemlist;
#X text 24 281 Inlet 1: gemlist;
#X floatatom 560 142 3 0 9 2 index - - 0;
#X text 71 31 Class: pix object;
#X text 64 237 list: <buffer_name>;
#X text 440 363 see also:;
#X obj 508 382 pix_buffer_write;
#X text 50 12 Synopsis: [pix_buffer_read];
#X text 29 57 Description: read from a [pix_buffer];
#X obj 451 168 pix_buffer_read depot;
#X obj 451 221 translate -2 0 1 0;
#X text 24 295 Inlet 1: message: set <buffer_name>: read from another buffer.;
#X text 24 320 Inlet 2: int: index of the frame in the named pix_buffer to read.;
#X text 11 79 [pix_buffer_read] reads an image from the named buffer provided by [pix_buffer]. Specify the frame of the buffer you want to read via the second inlet. If no frame is stored at the specified index \, you will get no image. (eg: no texture will be applied). You can change the buffer to read from on the fly via the [set( message.;
#X msg 464 138 set depot3;
#X obj 508 362 pix_buffer depot3 1;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION read from a [pix_buffer];
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist set;
#X text 20 105 INLET_1 int;
#X text 20 125 OUTLET_0 gemlist;
#X text 10 145 AUTHOR IOhannes m zmölnig;
#X text 10 165 LICENSE GPL v2;
#X restore 548 8 pd META;
#X obj 548 295 _gemwin;
#X obj 451 242 _pix2rectangle 1.9;
#X connect 11 0 21 0;
#X connect 14 0 21 1;
#X connect 21 0 22 0;
#X connect 22 0 30 0;
#X connect 26 0 21 0;
