Normally, I wouldn't have a problem with a memcopy between two types using VarPtr and SizeOf... but what happens if there's a reference inside the type...
That gets memcopied, but there would be no way for the garbage collector to know that has happenned... so I'm thinking there's probably some inbuilt way to copy a type, that for the life of me I can't find in the manual. Does anyone know if that's the case/what it is? =]
That gets memcopied, but there would be no way for the garbage collector to know that has happenned... so I'm thinking there's probably some inbuilt way to copy a type, that for the life of me I can't find in the manual. Does anyone know if that's the case/what it is? =]