Skip to content

Add Lua function for getting the width and height of a texture

Adds a new function for Lua:

  • R_GetTextureDimensions(int/string texture) - Returns the width and height of a texture, given its name or number.

Test Lua script: R_GetTextureDimensionsTest.lua

Edited by MIDIMan

Merge request reports

Loading