C_Texture
namespaceavailable in: camelotStatus in wowlua
11 functions: 2 implemented, 0 recorded, 9 guessed. 1 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
ClearTitleIconTexture | Clears the title icon from the given texture. · by wowlua(texture: Texture) | guessed |
GetAtlasElementID | Returns the ID of the given atlas element. · by wowlua(atlas: string): number | guessed |
GetAtlasElements | Returns the names of all atlas elements. · by wowlua(): string[] | guessed |
GetAtlasExists | Whether the client has the given atlas. · by wowlua(atlas: string): boolean | implemented |
GetAtlasID | Returns the ID of the given atlas. · by wowlua(atlas: string): number | guessed |
GetAtlasInfo | Returns atlas info.(atlas: string): AtlasInfo? | implemented |
GetFilenameFromFileDataID | Returns a string representing a file ID.(fileDataID: number): string | guessed |
GetTitleIconTexture | Loads the icon of a game title and passes it to the callback. · by wowlua(titleID: string, version: TitleIconVersion, callback: GetTitleIconTextureCallback) | guessed |
IsTitleIconTextureReady | Whether the icon of a game title is loaded. · by wowlua(titleID: string, version: TitleIconVersion): boolean | guessed |
SetTitleIconTexture | Shows the icon of a game title on the given texture. · by wowlua(texture: Texture, titleID: string, version: TitleIconVersion) | guessed |
SetURLTexture | Shows the image at the given URL on the texture. · by wowlua(texture: Texture, url: string) | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
URL_TEXTURE_REQUEST_RESULT | texture: Texture, result: UrlTextureResult | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("URL_TEXTURE_REQUEST_RESULT").
Structures
AtlasInfo· elementName, width, height, rawSize, leftTexCoord, rightTexCoord, topTexCoord, bottomTexCoord, tilesHorizontally, tilesVertically, file?, filename?, sliceData?
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TextureUtils system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.