CSimpleTexture::GetWidth
function · ui · primitive
- Address
0x770720· 98 bytes, up to0x770781- Signature
float __thiscall (CSimpleTexture *this)- Meaning
- Returns the authored width, or for 0.0 the image width in texels as interface units
- Confidence
- verified, proof two
- Finding
- ui/regions#a-textures-size
- Test
ui::glue_unit_convert_1024
Finding: A texture's size in ui: regions in the layout
A texture's width is the authored width, and when that is exactly 0.0 and the texture has an image, the image's width in texels taken as interface units; its height likewise. Without an image the answer is 0.0. The image is loaded on demand.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- GetScaledScreenAspect screencoord
- MultiplyByScreenScaleX screencoord
- TextureGetDimensions gx
- CLayoutFrame::GetWidth ui
Calls and jumps by a bare address, from tables/calls.tsv.