webgl-text:将文本写到WebGL画布上

时间:2021-02-05 02:54:12
【文件属性】:
文件名称:webgl-text:将文本写到WebGL画布上
文件大小:91KB
文件格式:ZIP
更新时间:2021-02-05 02:54:12
font webgl typescript canvas FontTypeScript WebGL文字 将文字写到WebGL画布上 :fire: 安装 使用安装: npm install webgl-text 例 该示例使用 ,但是此库可与任何webgl canvas一起使用。 import React , { Component } from 'react' ; import { autobind } from 'core-decorators' ; import WebGLCanvas from 'webgl-canvas' ; import WebGLText from 'webgl-text' ; import provideDimensions from 'provide-d
【文件预览】:
webgl-text-master
----.eslintrc(7KB)
----.babelrc(420B)
----package.json(2KB)
----tslint.json(379B)
----tests()
--------index.js(33B)
----src()
--------WebGLText.ts(2KB)
--------Util.ts(2KB)
--------module.d.ts(2KB)
--------LibraryEntryPoint.ts(65B)
----tsconfig.json(584B)
----shaders()
--------glyph.vert(556B)
--------glyph.frag(110B)
----spec()
--------support()
----LICENSE.md(1KB)
----.gitignore(77B)
----webpack.config.js(3KB)
----lib()
--------index.js(243KB)
--------index.js.map(148B)
----.dockerignore(24B)
----karma.conf.js(898B)
----README.md(2KB)

网友评论