set_texture
Adjust texture properties (wrap, filter, repeat, offset) for runtime preview, with option to apply changes to source code after user confirmation.
Instructions
Modify texture properties: wrap, filter, anisotropy, repeat, offset, colorSpace — runtime-only preview (lost on reload). ASK the user first: runtime preview or persistent code change?
Runtime preview — lost on page reload. You MUST ask the user first: runtime preview only, or also update source code?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | No | Texture UUID | |
| name | No | Texture name | |
| wrapS | No | Wrap S mode (1000=Repeat, 1001=ClampToEdge, 1002=Mirrored) | |
| wrapT | No | Wrap T mode | |
| minFilter | No | Min filter (1003=Nearest, 1006=Linear, 1008=LinearMipmapLinear) | |
| magFilter | No | Mag filter (1003=Nearest, 1006=Linear) | |
| anisotropy | No | Anisotropic filtering level (1-16) | |
| flipY | No | Flip texture vertically | |
| colorSpace | No | Color space (srgb, srgb-linear) | |
| repeat | No | [x, y] repeat | |
| offset | No | [x, y] offset | |
| rotation | No | Rotation in radians |