internal ModelVertexAttribute(ModelVertexDeclaration declaration, AssetLoader loader, int index) : base(declaration, index, loader) { var reader = loader.Reader; Declaration = declaration; reader.RequireZeroes(4); Offset = reader.ReadInt32(); Format = (ModelVertexFormat)reader.ReadInt32(); Usage = (ModelVertexUsage)reader.ReadInt32(); UsageIndex = reader.ReadInt32(); }