Re: OCIOv2 with OSL native support, part III


Patrick Hodoul
 

Thanks for the fast answers.

First, please note that the SymLocation stuff is very hot off the presses, and only is present in OSL master, not yet in any officially supported release.
Does the tag 'v1.11.14.2' represent the last official version?

But anyway, a color4 is not a real type (yet), it's a struct, so the implementation underneath is that there are two variables: "color4 mycolor" really just gets turned into "color mycolor.rgb" and "float mycolor.a". You can from the C++ side treat them as the two individual variables.
What about the input parameter which is also a color4 ?
Should I have two input parameters (like for the output parameter)?

--
Patrick

Join osl-dev@lists.aswf.io to automatically receive all group messages.