selene.textures
Provides texture creation and manipulation functionality.
| Function |
|---|
Create(width: number, height: number): LuaTextureCreate(width: number, height: number, format: string): LuaTexture |
Creates a new editable texture with the specified dimensions and format.
Returns a LuaTexture object with pixel manipulation methods.Supported formats: "RGBA8888" (default), "RGB888", "RGBA4444", "RGB565", "Alpha" |