17520Fermer17522
bearbecueLe 15/07/2011 à 18:26
void CMFrameDebugger:grinrawVirtualTextureMonitor(CRendererSubView &view, const CIRect &drawRect)
{
if (g_ModuleConfigDebugHUD->ShowVirtualTextureMonitor() && m_VirtualTexture != null)
{
PTexture texture = m_VirtualTexture->m_PageTable;
if (texture == null)
return;
if (texture->Type() != CTexture::Texture2D)
return;

CUbyte2 activeLevels;
texture->GetActiveMipLevels(activeLevels);
if (activeLevels == CUbyte2(0xFF, 0x00))
return;