cf_sprite_add_blend¶
Category: sprite
GitHub: cute_sprite.h
Register a layer blend for an aseprite sprite asset.
| Parameters | Description |
|---|---|
path |
Virtual path used when loading the sprite. |
layer_names |
Array of layer name strings to include. |
layer_count |
Number of entries in layer_names. |
Return Value¶
The blend index (1, 2, ...). Blend 0 = default (all visible layers).
Remarks¶
Ignores file visibility flags -- includes exactly the named layers.