I'm not familiar with HLSL so I don't know how similar it is to C, but if you look in your manual under 'structs', it breaks it all down for you.


Michael Bartman A6/A7 Commercial Edition Programmer By Nature