On 14.1.2016 15:20, Robert Osfield wrote:
Hi Robert M. et. al.
I don't have any answers/recommendations at this stage but one first
reading the proposal has relative to traditional C/C++ features seems
a bit out of place.
#pragma(tic) shader composition currently have a very close mapping to
C macro's, my hope has always been that because of this close mapping
it'd be quick to pick up and use - this is one of the key reasons why
I went for this approach to shader composition.
This makes me wonder if C/C++ features itself might be able to inspire
any proposed extensions to #pragma(tic) shader composition.
Robert.
Hi Robert O.
If I'm not mistaken, the #pragmadirective is used by the C/C++ preprocessor for
providing additional information, beyond what the language itself can offer. I
thought this was the main inspiration for #pragma(tic) shader composition.
Anyway, based on feedback I'm now convinced that my proposition isn't that
useful as I thought :) and on that note, I rest my case.
Cheers
Robert Milharcic
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org