surface.GetTextureID
Description
Returns the texture id of the material with the given name/path, for use with surface.SetTexture.
Opposite version of this function is surface.GetTextureNameByID.
This function will not work with .png or .jpg images. For that, see Material. You will probably want to use it regardless.
Arguments
Returns
Page views: 26,525
Updated: A Long Time Ago
Updated: A Long Time Ago