Shadow
gfx.shadow.get_canvas_texture_size
ClientRetrieves the current size of the 2D shadow texture
Syntax
local result = gfx.shadow.get_canvas_texture_size()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | result | Current texture size in pixels |
Examples
core.engine.print("info", "Canvas shadow texture size:", gfx.shadow.get_canvas_texture_size())