示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = conversionParams.GetHashCode();
         hash = hash * 486187739 + m_RequestId.GetHashCode();
         if (m_CameraSubsystem != null)
         {
             hash = hash * 486187739 + m_CameraSubsystem.GetHashCode();
         }
         return(hash);
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = width.GetHashCode();
         hash = hash * 486187739 + height.GetHashCode();
         hash = hash * 486187739 + planeCount.GetHashCode();
         hash = hash * 486187739 + m_NativeHandle.GetHashCode();
         hash = hash * 486187739 + ((int)format).GetHashCode();
         if (m_CameraSubsystem != null)
         {
             hash = hash * 486187739 + m_CameraSubsystem.GetHashCode();
         }
         return(hash);
     }
 }