TabardModel::GetLowerEmblemTexture
function · ui · primitive
- Address
0x503540· 938 bytes, up to0x5038e9- Signature
int __fastcall (lua_State *L)- Meaning
- Fills a Texture widget with the lower emblem's alpha as a white mask and returns nothing
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/tabard#emblem-textures
Finding: Emblem textures in ui: the guild tabard designer
GetUpperEmblemTexture(texture) and GetLowerEmblemTexture(texture) fill the Texture widget they are given and return
nothing. Each decodes the emblem file for the current style and colour and keeps only its alpha: the texture is white
with the emblem's alpha, 128 by 64 for the upper half and 128 by 32 for the lower. A file that fails to open or decode
leaves the previous contents, all clear on first use, and still installs the texture. A missing, non-texture or wrong-type
argument raises the method's usage text.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 17
- _atexit crt
- HandleClose base
- TextureCreateWithCallback gx
- FormatEmblemPath charactermodel
- SetArrayCapacity503d10 ui
- CGxTexFlags::CGxTexFlags gx
- BlpReset image
- BlpOpen image
- BlpDecodeLevel image
- BlpFreeScratch image
- SStrPack storm
- lua_settop lua
- lua_type lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- CSimpleTexture::SetImage ui
Calls and jumps by a bare address, from tables/calls.tsv.