'in' IIRC, denotes a vertex input going into a main function in CG.
'out' acts just like 'out' in C#, no value is passed into the function, but the function must write a value to it, which then gets passed back to the calling function.
'inout' acts like 'ref' in C# as you guessed, the argument gets passed both ways, allowing the function to read and modify the value.
DigitalfragmentMember Since 29 Aug 2002
Offline Last Active Jul 30 2015 05:11 PM
- Group Members
- Active Posts 648
- Profile Views 3,461
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown