[.net] [XNA] Accessing arrays of structs in effects
Hi there,
I made some neat .fx file with a definition of a structure and a declaration of an array of that structure. To my disappointment, it appears to me that the Effect class doesn't allow me to access it, is that correct? There is a field "StructureMembers", to access the fields of a structure, and there are SetValue(..) overloads to set arrays of known types (Matrix, Vector3, etc), but I wasn't able to find any way to do the combination: an array of a certain struct.
Thanks in advance.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement