In section 4.3 of the OSL spec I make a recommendation. Among other things, I suggested a string metadata called "UItype" to suggest what kind of UI element should be associated with each parameter, and "bool" is one of the suggested values. Also, the value "texture" for the "UItype" metadata is intended to indicate that the string is supposed to be a texture file name (so an app might let you set it via a file browser interface rather than simply a string entry field).
But the metadata conventions of section 4.3 are merely a recommendation, it is not enforced in any way, and in fact at SPI we don't use this (instead using the UI hint names that our old pre-OSL system used), so of course you are free to come up with your own conventions if the ones I suggested don't suit you.
-- lg
> --
> You received this message because you are subscribed to the Google Groups "OSL Developers" group.
> To post to this group, send email to osl...@googlegroups.com.
> To unsubscribe from this group, send email to osl-dev+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/osl-dev?hl=en.
>
>
--
Larry Gritz
l...@imageworks.com