MCPcopy Create free account
hub / github.com/microsoft/SandDance / FontAtlasManager1

Function FontAtlasManager1

docs/app/js/sanddance-app.js:105584–105599  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

105582}
105583var FontAtlasManager = function() {
105584 function FontAtlasManager1(gl) {
105585 (0, _classCallCheckDefault.default)(this, FontAtlasManager1);
105586 this.gl = gl;
105587 this.props = {
105588 fontFamily: DEFAULT_FONT_FAMILY,
105589 fontWeight: DEFAULT_FONT_WEIGHT,
105590 characterSet: DEFAULT_CHAR_SET,
105591 fontSize: DEFAULT_FONT_SIZE,
105592 buffer: DEFAULT_BUFFER,
105593 sdf: false,
105594 cutoff: DEFAULT_CUTOFF,
105595 radius: DEFAULT_RADIUS
105596 };
105597 this._key = null;
105598 this._texture = new (0, _core.Texture2D)(this.gl);
105599 }
105600 (0, _createClassDefault.default)(FontAtlasManager1, [
105601 {
105602 key: "finalize",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected