shadow$provide.module$node_modules$pixi_DOT_js$lib$utils$logging$logDebugTexture = function(global, require, module, exports) { var types = require("module$node_modules$pixi_DOT_js$lib$rendering$renderers$types"); "use strict"; exports.logDebugTexture = async function(texture, renderer, size = 200) { const base64 = await renderer.extract.base64(texture); renderer.type !== types.RendererType.CANVAS && await renderer.encoder.commandFinished; console.log(`logging texture ${texture.source.width}px ${texture.source.height}px`); texture = ["font-size: 1px;", `padding: ${size}px ${300}px;`, `background: url(${base64}) no-repeat;`, "background-size: contain;"].join(" "); console.log("%c ", texture); }; }; //# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$utils$logging$logDebugTexture.js.map