Textures
Node-i2djs allows for pre-creation of textures by loading images or custom canvas textures as bitmaps, which can then be used for rendering. The texture APIs support texture manipulations such as clipping, filters, and more.
node-I2Djs provides createTexture and createAsyncTexture, API as part of CanvasLayer.
Also, these APIs support multi image, setting src with an array of image URL.
Layer.createTexture(); - Creates texture instance. Returns Texture instance.
Last updated