UNPKG
xl-pano
Version:
latest (0.5.5)
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.4.1
0.3.1
0.3.0
0.2.0
0.1.0
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
一个基于 Typescript 的,同时支持立方体和球体场景的轻量开源库。
github.com/breeze-blowing/xlpano
breeze-blowing/xlpano
xl-pano
/
types
/
index.d.ts
11 lines
(10 loc)
•
319 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * 对 WebGLRenderingContext 进行扩展,加上 program,方便使用 * */
export
interface
WebGLRenderingContextWithProgram
extends
WebGLRenderingContext
{
program
?:
WebGLProgram
; }
/** * 纹理资源:可以是图像或者资源地址 * */
export
declare
type
TextureSource
=
TexImageSource
|
string
;