public TypeImage(int resultId, int sampledTypeId, Dim dimensionality, ImageDepth depth, bool hasArrayedContent, Samples samples, SamplerPresence samplerPresence, ImageFormat imageFormat, AccessQualifier?accessQualifier = null) { ResultId = resultId; SampledTypeId = sampledTypeId; Dimensionality = dimensionality; Depth = depth; HasArrayedContent = hasArrayedContent; Samples = samples; SamplerPresence = samplerPresence; ImageFormat = imageFormat; AccessQualifier = accessQualifier; }
public override int GetHashCode() { int hash = 1; if (Command != 0) { hash ^= Command.GetHashCode(); } if (ImageRGB.Length != 0) { hash ^= ImageRGB.GetHashCode(); } if (ImageDepth.Length != 0) { hash ^= ImageDepth.GetHashCode(); } if (ImageIr.Length != 0) { hash ^= ImageIr.GetHashCode(); } hash ^= cameraIds_.GetHashCode(); if (ImageGrating.Length != 0) { hash ^= ImageGrating.GetHashCode(); } if (CamIntri.Length != 0) { hash ^= CamIntri.GetHashCode(); } if (OffsetParams.Length != 0) { hash ^= OffsetParams.GetHashCode(); } if (CameraStatus.Length != 0) { hash ^= CameraStatus.GetHashCode(); } if (StereoImages.Length != 0) { hash ^= StereoImages.GetHashCode(); } if (IsLowBrightness != false) { hash ^= IsLowBrightness.GetHashCode(); } if (RemapParams.Length != 0) { hash ^= RemapParams.GetHashCode(); } if (ParameterValue.Length != 0) { hash ^= ParameterValue.GetHashCode(); } if (Error.Length != 0) { hash ^= Error.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }