import { ITags } from '../../Bulldog'; /** * Settings for working and converting a model to a GB model */ export interface GBOptions { /** * if true, the parser will attempt to identify duplicate geometries and remove them * this can help reduce files size. It exists as most GLTF exports export each geometry as a new one * even if in the editor they are the same instance */ dedupe?: boolean; /** * if true, this will turn the geometries into geometryFrags. A bit like a sprite sheet. * We end up with one base Geometry and set of geometryFrags that say which parts of the model to draw from. * This can help reduce VAO switches at runtime improving performance */ batch?: boolean; /** * if true, a *.json file will be added to the dist folder. This is the uncompressed GBObject with the buffers removed. * Great for inspecting whats actually inside the gb object! */ debug?: boolean; } export declare const defaultGBOptions: { dedupe: boolean; batch: boolean; debug: boolean; }; /** * merges the default options with any tags added to the model * @param options - the default options * @param tags - the tags found on the model */ export declare const mergeGBObjectTags: (options: GBOptions, tags: ITags) => GBOptions; //# sourceMappingURL=GBOptions.d.ts.map