1
0
KF2-Dev-Scripts/KFGame/Classes/KFGFxOptionsMenu_Graphics_DX10.uc

28 lines
1.0 KiB
Ucode
Raw Permalink Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFGFxOptionsMenu_Graphics_DX10
//=============================================================================
// Graphics menu with DX11 only features hidden
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// - Sakib Saikia 1/30/2015
//=============================================================================
class KFGFxOptionsMenu_Graphics_DX10 extends KFGFxOptionsMenu_Graphics;
var localized array<string> AmbientOcclusionStringOptions_DX10;
// Overridden to remove HBAO+ option
function SetAmbientOcclusionOptions(out GFxObject LocalizedObject)
{
LocalizedObject.SetObject("ambientOcclusionOptions", MakeDataProvider(AmbientOcclusionStringOptions_DX10));
}
defaultproperties
{
AmbientOcclusionPresets.Empty
AmbientOcclusionPresets(0)={(AmbientOcclusion=False, HBAO=False)}
AmbientOcclusionPresets(1)={(AmbientOcclusion=True, HBAO=False)}
}