import {BinaryDataType} from "../../../core/binary/type/BinaryDataType";

export class AttributeSpec {
    readonly name: string
    readonly type: BinaryDataType
    readonly itemSize: number
    readonly normalized: boolean

    fromJSON(json: { name: string, type: BinaryDataType, itemSize: number, normalized: boolean })

    static fromJSON(json: { name: string, type: BinaryDataType, itemSize: number, normalized: boolean }): AttributeSpec
}
