Files
Ink-Shader-Language/test/struct_within_struct.shd
2024-06-09 21:34:23 +02:00

14 lines
120 B
Plaintext

Foo :: struct {
color : float4;
}
Bar :: struct {
t : Foo;
}
vertex main :: () {
f : Foo;
b : Bar;
b.t = f;
}