59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
|
subsurface {
|
||
|
child: debug {
|
||
|
message: "A node that is deep in, but still found";
|
||
|
child: debug {
|
||
|
message: "Affine transforms, debug nodes and single-child containers are ok";
|
||
|
child: transform {
|
||
|
transform: translate(10, 10) scale(5, 10);
|
||
|
child: container {
|
||
|
texture { }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
subsurface {
|
||
|
child: debug {
|
||
|
message: "Multi-child containers are not ok";
|
||
|
child: container {
|
||
|
color { }
|
||
|
texture { }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
subsurface {
|
||
|
child: debug {
|
||
|
message: "other nodes, such as cross-fade, are not ok";
|
||
|
child: cross-fade {
|
||
|
start: texture { }
|
||
|
end: texture { }
|
||
|
progress: 0.5;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
subsurface {
|
||
|
child: debug {
|
||
|
message: "Other nodes, such as cross-fade, are not ok";
|
||
|
child: cross-fade {
|
||
|
start: texture { }
|
||
|
end: texture { }
|
||
|
progress: 0.5;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
subsurface {
|
||
|
child: debug {
|
||
|
message: "Clips (regardless how large) are not ok";
|
||
|
child: clip {
|
||
|
clip: 0 0 400 400;
|
||
|
child: texture { }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
subsurface {
|
||
|
child: debug {
|
||
|
message: "Can't offload non-textures";
|
||
|
child: linear-gradient { }
|
||
|
}
|
||
|
}
|