Skip to main content

GET_TEXTURE_RESOLUTION

Game.GetTextureResolutionHash0x01A75F0C
Usage
local x, y = Game.GetTextureResolution(textureId)

Gets the resolution of a texture.

Parameters

  • textureIdintegerint

Returns

  • xnumberfloat*
  • ynumberfloat*
Original declaration
// 0x01A75F0C
void GET_TEXTURE_RESOLUTION(int textureId, float* x, float* y);