MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / FindOrCreateWaterTexInfo

Function FindOrCreateWaterTexInfo

src/utils/vbsp/ivp.cpp:825–872  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Takes the texinfo_t referenced by the .vmt and the computed depth for the surface and looks up or creates a texdata/texinfo for the mangled one-off water .vmt file Input : *pBaseInfo - depth - Output : int -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

EmitWaterVolumesForBSPFunction · 0.85

Calls 10

GetTexDataFunction · 0.85
GetWaterTextureNameFunction · 0.85
strlwrFunction · 0.85
FindAliasedTexDataFunction · 0.85
FindOrCreateTexInfoFunction · 0.85
EmitWaterMaterialFileFunction · 0.85
FindMethod · 0.45
InvalidIndexMethod · 0.45
InsertMethod · 0.45

Tested by

no test coverage detected