Skip to content

texturePixels beta ​

Function of @v12-engine/client/common

ts
export declare function texturePixels(texture: TileTexture, ground: GroundWorks, size?: number): Promise<Uint8Array>;

A tile's texture as the ground draws it, by itself: made in code, or its file loaded, its seams and adjustments done, by the app's ground works (ClientRuntime.ground). A mix is its colour here: what it is mixed of is the ground's to find (mixPixels)