@idmwx/idmui-gl2-h5
Version:
idm webgl
79 lines (78 loc) • 2.31 kB
TypeScript
export default _sfc_main;
declare namespace _sfc_main {
const name: string;
namespace props {
namespace factor {
const type: ObjectConstructor;
}
namespace viewport {
export { Viewport as type };
}
namespace left {
const type_1: StringConstructor;
export { type_1 as type };
const _default: string;
export { _default as default };
}
namespace bottom {
const type_2: StringConstructor;
export { type_2 as type };
const _default_1: string;
export { _default_1 as default };
}
namespace right {
const type_3: StringConstructor;
export { type_3 as type };
const _default_2: string;
export { _default_2 as default };
}
namespace showParticle {
const type_4: BooleanConstructor;
export { type_4 as type };
const _default_3: boolean;
export { _default_3 as default };
}
}
const emits: string[];
function data(): {
program: undefined;
context: undefined;
texture: undefined;
rampColor: undefined;
aPositionBuffer: undefined;
webgl: WebGL;
etime: undefined;
wrapper: undefined;
animation: undefined;
particleContext: undefined;
particleTexture: undefined;
particleOptions: {
fadeOpacity: number;
speedFactor: number;
dropRate: number;
dropRateBump: number;
uvRange: number[];
sRange: number[];
};
paused: boolean;
initial: boolean;
};
const watch: {
'factor.version': {
handler(): void;
deep: boolean;
};
};
namespace methods {
function handleRender(): void;
function handleClear(): void;
function handleSetup(): void;
function handleParticleSetup(): void;
function handleDraw(): Promise<void>;
function handleResize(): void;
function handlePause(): void;
function handlePlay(): void;
}
}
import { Viewport } from '../../helper.ts';
import { WebGL } from '../../helper.ts';