@spearwolf/twopoint5d
Version:
a library to create 2.5d realtime graphics and pixelart with three.js
19 lines • 834 B
TypeScript
import { VertexAttributeDescriptor } from './VertexAttributeDescriptor.js';
import type { VertexObjectDescription } from './types.js';
export declare class VertexObjectDescriptor {
private readonly description;
readonly attributes: Map<string, VertexAttributeDescriptor>;
readonly bufferNames: Set<string>;
readonly basePrototype?: object | null | undefined;
readonly methods?: object | null | undefined;
voPrototype: object;
constructor(description: VertexObjectDescription);
get vertexCount(): number;
get meshCount(): number;
getInstanceCount(capacity: number): number;
get hasIndices(): boolean;
get indices(): number[];
get attributeNames(): string[];
getAttribute(name: string): VertexAttributeDescriptor | undefined;
}
//# sourceMappingURL=VertexObjectDescriptor.d.ts.map