Code-pre-gfx Black Ops 2 <Ultimate>

Ensure your mod does not accidentally override default, vital shader files in the code_pre_gfx sequence.

// Pre-load predicted variants based on current camera velocity and direction void PredictAndLoadVariants(const GfxViewInfo* viewInfo) // Logic: If player is moving towards a fog volume, pre-fetch fog shader variants if (viewInfo->cameraVelocity > PREDICTION_THRESHOLD) PredictForwardPath(viewInfo); code-pre-gfx black ops 2

From a performance standpoint, the efficiency of the code_pre_gfx in Black Ops 2 is surprisingly robust for a 2012 title. Ensure your mod does not accidentally override default,

// Integration Hook into the main render loop void R_RenderScene_Frame_Hook(GfxViewInfo* viewInfo) static ShaderVariantManager variantManager; pre-fetch fog shader variants if (viewInfo-&gt

Reformed Theology at A Puritan's Mind
Get APM in Your Inbox

Get APM in Your Inbox

Join our mailing list to receive the latest news and updates from A Puritan's Mind, as well as coupons and our newest books published by Puritan Publications.

You have Successfully Subscribed!