// These interfaces map to the output of the glTF-Validator // https://github.com/KhronosGroup/glTF-Validator export interface GltfValidatorReportInfoInterface { version: string; generator: string; extensionsUsed: Array; resources: Array; animationCount: number; materialCount: number; hasMorphTargets: boolean; hasSkins: boolean; hasTextures: boolean; hasDefaultScene: boolean; drawCallCount: number; totalVertexCount: number; totalTriangleCount: number; maxUVs: number; maxInfluences: number; maxAttributes: number; } export interface GltfValidatorReportInfoResourceImageInterface { width: number; height: number; format: string; primaries: string; transfer: string; bits: number; } export interface GltfValidatorReportInfoResourceInterface { pointer: string; mimeType: string; storage: string; byteLength?: number; image?: GltfValidatorReportInfoResourceImageInterface; } export interface GltfValidatorReportIssuesInterface { numErrors: number; numWarnings: number; numInfos: number; numHints: number; messages: Array; truncated: boolean; } export interface GltfValidatorReportIssuesMessageInterface { code: string; message: string; pointer: string; severity: number; } // Top Level Interface export interface GltfValidatorReportInterface { uri: string; mimeType: string; validatorVersion: string; validatedAt: string; issues: GltfValidatorReportIssuesInterface; info: GltfValidatorReportInfoInterface; }