Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

LayerImageOptions

Defined in: packages/node-image/src/types.ts:61

Options for the layerImage() function. Extends schema options with programmatic-only options.

Extends

  • SchemaOptions

Properties

colorAttribute?

readonly optional colorAttribute?: string

Defined in: packages/node-image/src/types.ts:41

Inherited from

SchemaOptions.colorAttribute


drawingMode?

readonly optional drawingMode?: "image" | "color"

Defined in: packages/node-image/src/types.ts:39

Inherited from

SchemaOptions.drawingMode


imageAttribute?

readonly optional imageAttribute?: string

Defined in: packages/node-image/src/types.ts:42

Inherited from

SchemaOptions.imageAttribute


name?

readonly optional name?: string

Defined in: packages/node-image/src/types.ts:38

Inherited from

SchemaOptions.name


padding?

readonly optional padding?: number

Defined in: packages/node-image/src/types.ts:40

Inherited from

SchemaOptions.padding


textureManager?

optional textureManager?: TextureManager

Defined in: packages/node-image/src/types.ts:67

Optional TextureManager instance to use. If not provided, a new one will be created internally. Pass an existing TextureManager to share textures across multiple layer instances.


textureManagerOptions?

optional textureManagerOptions?: Partial<TextureManagerOptions>

Defined in: packages/node-image/src/types.ts:73

Options for creating the internal TextureManager. Only used if textureManager is not provided.