#N canvas 656 205 633 650 10;
#X declare -lib Gem;
#N canvas 87 154 247 179 Gem.init 0;
#X obj 118 46 loadbang;
#X msg 118 81 reset;
#X obj 118 113 outlet;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X restore 524 560 pd Gem.init;
#X obj 8 52 cnv 15 430 285 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 71 27 Class: pix object;
#X text 50 8 Synopsis: [pix_multitexture];
#X text 29 53 Description: apply multiple texture mappings to the current network;
#X text 13 86 [pix_multitexture] uses different texture information \, and attaches them to the current chain. This is most useful when working with shaders.;
#X obj 8 388 cnv 15 430 235 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 8 348 cnv 15 430 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 347 Arguments:;
#X obj 449 73 cnv 15 170 450 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X obj 515 558 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 514 536 Create window:;
#X obj 455 442 cnv 15 160 50 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X text 452 9 GEM object;
#X text 453 56 Example:;
#X obj 463 88 gemhead;
#X obj 489 208 gemhead 11;
#X obj 501 246 loadbang;
#X obj 533 349 loadbang;
#X obj 463 454 pix_multitexture 3;
#X obj 489 284 pix_texture;
#X obj 520 387 pix_texture;
#X msg 501 265 rectangle 0;
#X msg 533 368 rectangle 0;
#X obj 476 111 gemhead 11;
#X obj 488 149 loadbang;
#X obj 476 187 pix_texture;
#X msg 488 168 rectangle 0;
#X obj 520 311 gemhead 11;
#N canvas 190 611 450 300 pix_image 0;
#X obj 78 124 openpanel;
#X obj 78 103 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X msg 78 147 set open \$1 \, bang;
#X msg 64 171 open img3.jpg;
#X obj 47 54 inlet;
#X obj 47 233 outlet;
#X obj 47 199 pix_image examples/data/blob1.tif;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 4 0 6 0;
#X connect 6 0 5 0;
#X restore 520 330 pd pix_image;
#N canvas 1 105 450 300 pix_image 0;
#X obj 78 124 openpanel;
#X obj 78 103 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X msg 78 147 set open \$1 \, bang;
#X msg 64 171 open img3.jpg;
#X obj 47 54 inlet;
#X obj 47 233 outlet;
#X obj 47 199 pix_image examples/data/dancer.JPG;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 4 0 6 0;
#X connect 6 0 5 0;
#X restore 489 227 pd pix_image;
#N canvas 569 166 450 300 pix_image 0;
#X obj 78 124 openpanel;
#X obj 78 103 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000;
#X msg 78 147 set open \$1 \, bang;
#X obj 48 54 inlet;
#X obj 48 233 outlet;
#X msg 64 171 open img1.jpg;
#X obj 48 198 pix_image examples/data/fractal.JPG;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 2 0 5 0;
#X connect 3 0 6 0;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
#X restore 476 130 pd pix_image;
#X obj 463 503 square 3;
#X text 63 358 - number of texture to use;
#X text 19 390 Inlets:;
#X text 15 457 Outlets:;
#X text 50 474 Outlet 1: gemlist;
#X text 33 404 Inlet 1: gemlist;
#X text 33 424 Inlet 2..n : texture Id;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION apply multiple texture mappings to the current network;
#X text 10 65 KEYWORDS Gem pix image;
#X text 20 85 INLET_0 gemlist;
#X text 20 105 OUTLET_0 gemlist;
#X text 10 125 AUTHOR IOhannes m zmölnig;
#X text 10 145 LICENSE GPL v2;
#X restore 518 8 pd META;
#X obj 520 564 _gemwin;
#X connect 15 0 19 0;
#X connect 16 0 30 0;
#X connect 17 0 22 0;
#X connect 18 0 23 0;
#X connect 19 0 32 0;
#X connect 20 1 19 2;
#X connect 21 1 19 3;
#X connect 22 0 20 0;
#X connect 23 0 21 0;
#X connect 24 0 31 0;
#X connect 25 0 27 0;
#X connect 26 1 19 1;
#X connect 27 0 26 0;
#X connect 28 0 29 0;
#X connect 29 0 21 0;
#X connect 30 0 20 0;
#X connect 31 0 26 0;
