mdx-m3-viewer
Version:
A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.
14 lines (13 loc) • 347 B
TypeScript
import { DdsImage } from '../../parsers/dds/image';
export interface SanityTestNode {
type: string;
message: string;
}
export interface SanityTestResult {
nodes: SanityTestNode[];
warnings: number;
}
/**
* Tests for issues in DDS textures.
*/
export default function sanityTest(texture: DdsImage): SanityTestResult;