#unreal

Note that this should be declared as a plain function. Not as a member of the struct.

Can be implemented with MemCrc32 but this does not work correctly on FString and other types that cannot be memcmp compared (any pointer type)

FORCEINLINE uint32 GetTypeHash(const FVideoInfo& VideoInfo)
{
	return FCrc::MemCrc32(&VideoInfo, sizeof(FVideoInfo));
}

For FStrings and pointer types

You must call GetTypeHash for each value separately, and then combine the hashes. You can use +, ^ or HashCombine