Are Pragma Directives at the beginning of a renderscript necessary?

57 Views Asked by At

The Pragma Directives like

pragma version(1) at the beginning of a render-script necessary ?

1

There are 1 best solutions below

0
On BEST ANSWER

Yes. If you don't place them there, the compiler will generate an error message. This is so that we can comfortably extend the language in the future (without breaking existing applications).