Beispiel #1
0
        protected override void OnValidateReferences(Validation.ValidationContext result)
        {
            base.OnValidateReferences(result);

            result.CheckSchemaIsDefined("BufferView", _bufferView);
            result.CheckArrayIndexAccess("BufferView", _bufferView, this.LogicalParent.LogicalBufferViews);

            result.CheckSchemaNonNegative("ByteOffset", _byteOffset);
            result.CheckSchemaIsInRange("Count", _count, _countMinimum, int.MaxValue);

            _sparse?.ValidateReferences(result);
        }