MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / TouchTexture

Function TouchTexture

Descent3/gametexture.cpp:721–726  ·  view source on GitHub ↗

Pages in this particular texture

Source from the content-addressed store, hash-verified

719
720// Pages in this particular texture
721void TouchTexture(int n) {
722 if (GameTextures[n].flags & TF_ANIMATED) {
723 PageInVClip(GameTextures[n].bm_handle);
724 } else
725 PageInTexture(n, true);
726}
727
728// Frees all the bumpmaps associated with a texture
729void FreeTextureBumpmaps(int tex_handle) {

Callers 1

PageInLevelTextureFunction · 0.85

Calls 2

PageInVClipFunction · 0.85
PageInTextureFunction · 0.85

Tested by

no test coverage detected