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?
readonlyoptionalcolorAttribute?:string
Defined in: packages/node-image/src/types.ts:41
Inherited from
SchemaOptions.colorAttribute
drawingMode?
readonlyoptionaldrawingMode?:"image"|"color"
Defined in: packages/node-image/src/types.ts:39
Inherited from
SchemaOptions.drawingMode
imageAttribute?
readonlyoptionalimageAttribute?:string
Defined in: packages/node-image/src/types.ts:42
Inherited from
SchemaOptions.imageAttribute
name?
readonlyoptionalname?:string
Defined in: packages/node-image/src/types.ts:38
Inherited from
SchemaOptions.name
padding?
readonlyoptionalpadding?:number
Defined in: packages/node-image/src/types.ts:40
Inherited from
SchemaOptions.padding
textureManager?
optionaltextureManager?: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?
optionaltextureManagerOptions?:Partial<TextureManagerOptions>
Defined in: packages/node-image/src/types.ts:73
Options for creating the internal TextureManager. Only used if textureManager is not provided.