UNPKG

@spearwolf/twopoint5d

Version:

a library to create 2.5d realtime graphics and pixelart with three.js

14 lines 712 B
import { VOBufferPool } from './VOBufferPool.js'; import { VertexObjectDescriptor } from './VertexObjectDescriptor.js'; import type { VO, VertexObjectBuffersData, VertexObjectDescription } from './types.js'; export declare class VertexObjectPool<VOType> extends VOBufferPool { #private; onCreateVO?: (vo: VOType & VO) => (VOType & VO) | void; onDestroyVO?: (vo: VOType & VO) => void; constructor(descriptor: VertexObjectDescriptor | VertexObjectDescription, capacityOrData: number | VertexObjectBuffersData); createVO(): VOType & VO; containsVO(vo: VO): boolean; freeVO(vo: VO): void; getVO(idx: number): (VOType & VO) | undefined; } //# sourceMappingURL=VertexObjectPool.d.ts.map