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

Function R_MipMap3D

neo/renderer/Image_process.cpp:481–544  ·  view source on GitHub ↗

================ R_MipMap3D Returns a new copy of the texture, eigthed 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 1

Generate3DImageMethod · 0.85

Calls 4

R_MipMapFunction · 0.85
R_StaticAllocFunction · 0.85
R_SetBorderTexels3DFunction · 0.85
FatalErrorMethod · 0.45

Tested by

no test coverage detected