11 lines
217 B
Plaintext
11 lines
217 B
Plaintext
(program
|
|
(properties props
|
|
[(:= color float4)])
|
|
|
|
(fun vertex vs_main -> float4 (@position)
|
|
[(:= pos float4 (@position))]
|
|
(return pos))
|
|
|
|
(fun pixel ps_main -> float4 (@target0)
|
|
[]
|
|
(return props.color))) |