Skip to main content

client resources:getTexture

Texture resources:getTexture(path, loadFlags)

Returns a Texture object if loaded successfully, you should use preLoad on Mod:onLoad() to pre-load the texture and not block the client


Parameters​

TypeNameDescriptionOptional
stringpathNo description
LOAD.TEXTURE_FLAGSloadFlagsNo description✔

Returns​

TypeDescription
TextureNo description