Package net.runelite.api
Interface TextureProvider
-
public interface TextureProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getBrightness()
int
getDefaultColor(int textureID)
Get the HSL color used when the texture isn't loaded yetTexture[]
getTextures()
Get all texturesint[]
load(int textureId)
Get the pixels for a texturevoid
setBrightness(double brightness)
Set the brightness for textures, clearing the texture cache.
-
-
-
Method Detail
-
getBrightness
double getBrightness()
-
setBrightness
void setBrightness(double brightness)
Set the brightness for textures, clearing the texture cache. .9 is the darkest value available in the standard options .6 is the brightest value
-
getTextures
Texture[] getTextures()
Get all textures
-
load
int[] load(int textureId)
Get the pixels for a texture
-
getDefaultColor
int getDefaultColor(int textureID)
Get the HSL color used when the texture isn't loaded yet
-
-