CGxTexFlags::CGxTexFlags
function · gx · primitive
- Address
0x58a980· 164 bytes, up to0x58aa23- Signature
void * __thiscall (CGxTexFlags *this, uint32_t filter, uint32_t wrapU, uint32_t wrapV, uint32_t b5, uint32_t b6, uint32_t b7, uint32_t aniso, uint32_t b8)- Meaning
- Packs filter, wrap, flag and anisotropy arguments into a texture flags word, capping anisotropy at the device maximum
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- gx/textures#texture-flags-word
Finding: Texture flags word in gx: textures
0x449ae0(out, force, in) writes out = in, except that when force is non-zero the low three bits (the filter mode) are replaced by the global [0x835250]; then, when the resulting mode is 5, bits 9 to 13 are replaced by [0x835254], otherwise by 1. 0x449ac0 and 0x449ad0 store [0x835250] and [0x835254]; their static defaults are 3 and 1. The word is the GxTex flags: bits 0 to 2 filter mode, bit 3 wrap in U, bit 4 wrap in V, bit 6 generate mip maps, bits 9 to 13 maximum anisotropy.
The derivation is in the doc.
Callers 76
- CreateLoadingScreen loadingscreen
- ResolveLoadingArt loadingscreen
- LoadRouteTextures loadingscreen
- CTexture::CTexture gx
- TexturePoolAcquire gx
- TexturePoolRelease gx
- TextureHashFind gx
- TextureHashInsert gx
- TextureFillSolid gx
- TextureSolidFind gx
- TextureSolidInsert gx
- 0x44b4f0 gx
- 0x44ba60 gx
- 0x44bc90 gx
- CGlueMgr::InitCursor glue
- UpdateCharacterComponent charactermodel
- ApplyBodySkin charactermodel
- BindHairTexture charactermodel
- LoadBakedSkin charactermodel
- ApplyCreatureDisplay charactermodel
- AttachItemModelFile charactermodel
- ApplyCloakTexture charactermodel
- CreateLooseItemModel charactermodel
- CGWorldFrame::CGWorldFrame ui
- StartScreenFade ui
- LoadTaxiMapTexture ui
- DrawInteriorTile ui
- LoadMinimapTextures ui
- CreateInteriorTarget ui
- Minimap::SetMaskTexture ui
- Minimap::SetIconTexture ui
- Minimap::SetBlipTexture ui
- TabardModel::GetUpperEmblemTexture ui
- TabardModel::GetLowerEmblemTexture ui
- BakePortrait ui
- SetPortraitTexture ui
- 0x591540 gx
- CGxTexture::CGxTexture gx
- CGxDevice::CreateCursor gx
- CreateD3dDevice gx
- AtlasPage::CreateTexture font
- CGGameObject_C::ApplyArtKit objectlayer
- InitializeSelectionCircle objectlayer
- CWorld::Initialize terrain
- Rain::Rain lighting
- Snow::Snow lighting
- Mists::Mists lighting
- GetLiquidFrame terrain
- InitLiquidRamps terrain
- SetDriftCloudTexture terrain
- InitRipples terrain
- CreateFootprintTextures terrain
- AcquireLayerTexture terrain
- AcquireChunkTexture terrain
- InitDetailDoodads terrain
- DrawExteriorGroupBatches terrain
- DrawInteriorGroupBatches terrain
- DrawGroupUnlitTextures terrain
- LoadMapTexture models
- PlayerNameInitialize playername
- WorldTextInitialize playername
- ConstructWaveMapPass ffxeffects
- AllocateTarget ffxeffects
- CreateCloudTexture lighting
- InitShadows lighting
- LoadInteriorTile minimap
- LoadOutdoorTiles minimap
- CreateLightningObjects spell
- M2CacheInitialize models
- SimpleModelReplaceTexture ui
- CSimpleTexture::SetTexture ui
- CSimpleColorSelect::SetWheelTexture ui
- CSimpleColorSelect::SetValueTexture ui
- StartMovieDecoder ui
- LoadGlare lighting
- LoadDisc lighting
Callees 1
- GxDeviceCaps gx
Calls and jumps by a bare address, from tables/calls.tsv.