internal void ValidateBufferUsagePlainData(Validation.ValidationContext result) { if (this._byteStride.HasValue) { if (result.TryFixLinkOrError("BufferView", "Unexpected ByteStride found. Expected null")) { this._byteStride = null; } } result = result.GetContext(this); if (!this._target.HasValue) { return; } if (result.TryFixLinkOrError("Device Buffer Target", $"is set as {this._target.Value}. But an accessor wants to use it as a plain data buffer.")) { this._target = null; } }