CSimpleTexture::CSimpleTexture
function · ui · primitive
- Address
0x76fc40· 193 bytes, up to0x76fd00- Meaning
- Builds a texture of a frame and layer with no image, the BLEND mode and the unit coordinates
- Confidence
- verified, proof one
- 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 17
- CGChatBubbleFrame::CGChatBubbleFrame ui
- FrameXML::AddTextureElement ui
- Frame::CreateTexture ui
- CSimpleButton::SetStateTexturePath ui
- CSimpleButton::SetHighlightTexturePath ui
- CSimpleEditBox::CSimpleEditBox ui
- CSimpleEditBox::CreateCompositionTexture ui
- CSimpleEditBox::CreateCandidateFrame ui
- CSimpleBackdrop::BuildPieces ui
- CSimpleStatusBar::SetBarTexture ui
- CSimpleCheckbox::SetCheckedTexturePath ui
- CSimpleCheckbox::SetDisabledCheckedTexturePath ui
- CSimpleSlider::SetThumbTexture ui
- CSimpleHTML::AddImage ui
- CSimpleColorSelect::LoadWheelThumbTexture ui
- 0x78b9f0 ui
- CGNamePlateFrame::CGNamePlateFrame ui
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.