Texture::GetBlendMode
function · ui · primitive
- Address
0x79a890· 188 bytes, up to0x79a94b- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Texture method GetBlendMode
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/texture#draw-layer-and-blend-mode
Finding: Draw layer and blend mode in ui: texture colour and drawing
SetDrawLayer(layer) moves the texture to one of the five draw layers and GetDrawLayer() answers the layer's name. The names
are BACKGROUND, BORDER, ARTWORK, OVERLAY and HIGHLIGHT, matched ignoring case. A texture starts on the layer its
creator gives it with the blend mode BLEND. SetBlendMode(mode) takes DISABLE, ALPHAKEY, BLEND, ADD or MOD, which are
modes 0 to 4 in the order 0 DISABLE, 1 ALPHAKEY, 2 BLEND, 3 ADD, 4 MOD, and GetBlendMode() answers the name, UNKNOWN
for any other value. A name that is not a string or not in the list raises Usage: %s:SetDrawLayer("layer") or
Usage: %s:SetBlendMode("mode") and changes nothing.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- 0x6f1970 unassigned
- lua_settop lua
- lua_type lua
- lua_touserdata lua
- lua_pushstring lua
- lua_rawgeti lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.