create_texture
Create a new texture by filling with a solid color or uploading a PNG. Returns the texture's unique ID.
Instructions
Create a new texture. Either fill it with a solid color, or supply a full PNG via data_url. Returns the texture uuid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | Solid fill color, e.g. '#a0703c' (CSS color). | |
| name | No | ||
| width | No | Defaults to project texture width. | |
| height | No | Defaults to project texture height. | |
| data_url | No | Optional 'data:image/png;base64,...' to use as the texture image directly. | |
| particle | No | Mark as particle texture (some formats). |