MCPcopy Create free account
hub / github.com/WarFrontIO/client / resizeCanvas

Function resizeCanvas

src/renderer/layer/CachedLayer.ts:39–46  ·  view source on GitHub ↗

* Resize the canvas to the given width and height. * @param width width of the canvas * @param height height of the canvas * @param transparent whether the canvas should be transparent or not. If true, the texture will include an alpha channel * @protected

(width: number, height: number, transparent: boolean = false)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

deleteTextureMethod · 0.80
createTextureMethod · 0.80
createFramebufferMethod · 0.80
resetFramebufferMethod · 0.80

Tested by

no test coverage detected