It would be nice if gmlc had a few specific pragmas much like Shady has gpu directives.
- "NoOp" : prevents any and all optimizations in the function, or script file all together, if defined in a function, effects all sub functions as well.
- "CompileTimeConstant" : a function would be defined as expandable to the compile time constant
add(1, 2) would just be replaced entirely with the return of the function 3.
- "ForceInLine" : this is actually already a pragma in gml, which usually doesnt do much, however i could actually force inline it most of the time.
It would be nice if gmlc had a few specific pragmas much like Shady has gpu directives.
add(1, 2)would just be replaced entirely with the return of the function3.