MCPcopy Create free account
hub / github.com/TTimo/doom3.gpl / R_MipMap

Function R_MipMap

neo/renderer/Image_process.cpp:396–466  ·  view source on GitHub ↗

================ R_MipMap Returns a new copy of the texture, quartered in size and filtered. If a texture is intended to be used in GL_CLAMP or GL_CLAMP_TO_EDGE mode with a completely transparent border, we must prevent any blurring into the outer ring of texels by filling it with the border from the previous level. This will result in a slight shrinking of the texture as it mips, but better th

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

WriteRenderBumpFunction · 0.85
GenerateImageMethod · 0.85
GenerateCubeImageMethod · 0.85
R_MipMap3DFunction · 0.85

Calls 3

R_StaticAllocFunction · 0.85
R_SetBorderTexelsFunction · 0.85
FatalErrorMethod · 0.45

Tested by

no test coverage detected