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

Method CaptureModel

src/vgui2/matsys_controls/mdlpicker.cpp:511–619  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Screen captures the specific model and writes out a .tga. Assumes the MDLPreview panel has been properly adjusted to 0,0 in screen space and that width / height have been set. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

mallocFunction · 0.85
V_sprintf_safeFunction · 0.85
V_SetExtensionFunction · 0.85
SaveTgaAndAddToP4Function · 0.85
freeFunction · 0.85
BeginFrameMethod · 0.80
SetBackgroundColorMethod · 0.80
EndFrameMethod · 0.80
SetColorMethod · 0.45
GetVPanelMethod · 0.45

Tested by

no test coverage detected