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

Function DrawClippedDepthBox

src/game/client/viewrender.cpp:3681–3924  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Fakes per-entity clip planes on cards that don't support user clip planes. Achieves the effect by drawing an invisible box that writes to the depth buffer around the clipped area. It's not perfect, but better than nothing. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

DrawOpaqueRenderableFunction · 0.85

Calls 13

AngleVectorsFunction · 0.85
AssertFunction · 0.85
fabsFunction · 0.85
Position3fvMethod · 0.80
Color3fvMethod · 0.80
AdvanceVertexMethod · 0.80
GetRenderBoundsMethod · 0.45
DotMethod · 0.45
BindMethod · 0.45
BeginMethod · 0.45
EndMethod · 0.45
DrawMethod · 0.45

Tested by

no test coverage detected