feat: performance r_DepthOfField support

This commit is contained in:
xkeyC 2025-03-15 13:42:14 +08:00
parent cb77b69fa1
commit b830b2b863
9 changed files with 50 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

View File

@ -1027,6 +1027,12 @@ class MessageLookup extends MessageLookupByLibrary {
"performance_json_text_displayinfo_info": MessageLookupByLibrary.simpleMessage(
"Display frame rates, server information, etc. in the upper right corner of the screen",
),
"performance_json_text_dof": MessageLookupByLibrary.simpleMessage(
"Depth of field effect",
),
"performance_json_text_dof_info": MessageLookupByLibrary.simpleMessage(
"Controls the depth of field effect on mobiGlass pages, etc.",
),
"performance_json_text_fov": MessageLookupByLibrary.simpleMessage(
"Set viewing angle FOV",
),

View File

@ -888,6 +888,10 @@ class MessageLookup extends MessageLookupByLibrary {
),
"performance_json_text_displayinfo_info":
MessageLookupByLibrary.simpleMessage("在屏幕右上角展示帧率,服务器信息等"),
"performance_json_text_dof": MessageLookupByLibrary.simpleMessage("景深效果"),
"performance_json_text_dof_info": MessageLookupByLibrary.simpleMessage(
"控制手环页面等的景深效果",
),
"performance_json_text_fov": MessageLookupByLibrary.simpleMessage(
"设置视角FOV",
),

View File

@ -894,6 +894,10 @@ class MessageLookup extends MessageLookupByLibrary {
),
"performance_json_text_displayinfo_info":
MessageLookupByLibrary.simpleMessage("在螢幕右上角展示幀率,伺服器資訊等"),
"performance_json_text_dof": MessageLookupByLibrary.simpleMessage("景深效果"),
"performance_json_text_dof_info": MessageLookupByLibrary.simpleMessage(
"控製手環頁面等的景深效果",
),
"performance_json_text_fov": MessageLookupByLibrary.simpleMessage(
"設定視角FOV",
),

View File

@ -3922,6 +3922,26 @@ class S {
);
}
/// `Depth of field effect`
String get performance_json_text_dof {
return Intl.message(
'Depth of field effect',
name: 'performance_json_text_dof',
desc: '',
args: [],
);
}
/// `Controls the depth of field effect on mobiGlass pages, etc.`
String get performance_json_text_dof_info {
return Intl.message(
'Controls the depth of field effect on mobiGlass pages, etc.',
name: 'performance_json_text_dof_info',
desc: '',
args: [],
);
}
/// `Swip light after the screen light`
String get performance_json_text_ssdo {
return Intl.message(

View File

@ -775,6 +775,8 @@
"@home_localization_action_install_customize": {},
"home_localization_title_localization_tools": "Localization tool",
"@home_localization_title_localization_tools": {},
"performance_json_text_dof": "Depth of field effect",
"performance_json_text_dof_info": "Controls the depth of field effect on mobiGlass pages, etc.",
"performance_json_text_ssdo": "Swip light after the screen light",
"@performance_json_text_ssdo": {},
"performance_json_text_ssdo_info": "After adjusting the light, processing level",

View File

@ -706,6 +706,8 @@
"home_localization_action_advanced": "高级汉化",
"home_localization_action_install_customize": "安装自定义文件",
"home_localization_title_localization_tools": "汉化工具",
"performance_json_text_dof": "景深效果",
"performance_json_text_dof_info": "控制手环页面等的景深效果",
"performance_json_text_ssdo": "屏幕光线后处理",
"performance_json_text_ssdo_info": "调整光线后处理等级",
"performance_json_text_title_graphics": "图形(修改后建议清理着色器)",

View File

@ -703,6 +703,8 @@
"home_localization_action_advanced": "進階翻譯",
"home_localization_action_install_customize": "安裝自訂文件",
"home_localization_title_localization_tools": "翻譯工具",
"performance_json_text_dof": "景深效果",
"performance_json_text_dof_info": "控製手環頁面等的景深效果",
"performance_json_text_ssdo": "螢幕光線後處理",
"performance_json_text_ssdo_info": "調整光線後處理等級",
"performance_json_text_title_graphics": "圖形(修改後建議刪除著色器快取)",

View File

@ -11,6 +11,16 @@ List get performanceUIConfJsonData => [
"value": 1,
"group": S.current.performance_json_text_title_graphics
},
{
"key": "r_DepthOfField",
"name": S.current.performance_json_text_dof,
"info": S.current.performance_json_text_dof_info,
"type": "int",
"max": 2,
"min": 0,
"value": 1,
"group": S.current.performance_json_text_title_graphics
},
{
"key": "r_AntialiasingMode",
"name": S.current.performance_json_text_antialiasing,