Beispiel #1
0
 public bool Equals(ImageDescription other)
 {
     return(Dimension.Equals(other.Dimension) &&
            Width == other.Width &&
            Height == other.Height &&
            Depth == other.Depth &&
            ArraySize == other.ArraySize &&
            MipLevels == other.MipLevels &&
            Format.Equals(other.Format));
 }
Beispiel #2
0
 public bool Equals(TextureDescription other)
 {
     return(Dimension.Equals(other.Dimension) && Width == other.Width && Height == other.Height && Depth == other.Depth && ArraySize == other.ArraySize && MipLevels == other.MipLevels && Format.Equals(other.Format) && SampleDescription.Equals(other.SampleDescription) && Usage.Equals(other.Usage) && BindFlags.Equals(other.BindFlags) && CpuAccessFlags.Equals(other.CpuAccessFlags) && OptionFlags.Equals(other.OptionFlags));
 }