aboutsummaryrefslogtreecommitdiff
path: root/Gem/examples/14.multiple_windows/01.basic_example.pd
blob: 0b168d799a889ae365e50485422909b15833cada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#N canvas 60 711 828 296 10;
#X obj 88 241 gemwin 20 a;
#X obj 295 79 square;
#X obj 295 49 color 1 0 0 1;
#X obj 94 77 square;
#X obj 94 47 color 0 0 1 1;
#X obj 94 25 gemhead a;
#X msg 88 199 title a \, create \, 1;
#X msg 268 199 title b \, create \, 1;
#X obj 223 158 b;
#X obj 223 138 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 240 136 create window;
#X text 405 85 You can have multiple window and display different
things on each.;
#X obj 268 241 gemwin 20 b;
#X text 405 119 Basically \, use [gemwin fps context_name] to create
a named context then use [gemhead context_name] to render to this context
only.;
#X obj 295 27 gemhead b;
#X connect 2 0 1 0;
#X connect 4 0 3 0;
#X connect 5 0 4 0;
#X connect 6 0 0 0;
#X connect 7 0 12 0;
#X connect 8 0 6 0;
#X connect 8 0 7 0;
#X connect 9 0 8 0;
#X connect 14 0 2 0;