Commit f8b4cc70 authored by 邱旭's avatar 邱旭

template

parent 07a7e32a
...@@ -7,3 +7,31 @@ ...@@ -7,3 +7,31 @@
declare const __ENV__: "development" | "production"; declare const __ENV__: "development" | "production";
declare const __version__: string; declare const __version__: string;
declare const __buildDate__: string; declare const __buildDate__: string;
/**
* shader文件类型
*/
declare module '*.vert' {
const source: string;
export default source;
}
declare module '*.frag' {
const source: string;
export default source;
}
declare module '*.vs' {
const source: string;
export default source;
}
declare module '*.fs' {
const source: string;
export default source;
}
declare module '*.glsl' {
const source: string;
export default source;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment