Implemented texture pre-streaming for lod swaps

--HG--
branch : nfb
This commit is contained in:
2014-04-23 01:43:00 -07:00
parent 7194d39f7d
commit e9c17df900
29 changed files with 202 additions and 139 deletions

View File

@@ -200,6 +200,8 @@ void KRAudioSource::queueBuffer()
void KRAudioSource::render(KRCamera *pCamera, std::vector<KRPointLight *> &point_lights, std::vector<KRDirectionalLight *> &directional_lights, std::vector<KRSpotLight *>&spot_lights, const KRViewport &viewport, KRNode::RenderPass renderPass)
{
if(m_lod_visible <= LOD_VISIBILITY_PRESTREAM) return;
KRNode::render(pCamera, point_lights, directional_lights, spot_lights, viewport, renderPass);
bool bVisualize = false;