UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

26 lines (14 loc) 561 B
import {AttributeSpec} from "./AttributeSpec"; export class AttributeGroupSpec { readonly attributes: AttributeSpec[] static from(...attributes: AttributeSpec[]): AttributeGroupSpec getAttributeByName(name: string): AttributeSpec | undefined add(attribute: AttributeSpec): this setAttributes(attributes: AttributeSpec[]): void equals(other: AttributeGroupSpec): boolean hash(): number toJSON(): any fromJSON(json: any): void getByteSize(): number readonly isVertexDataSpec: true }