Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
RenderSceneBuffersConfiguration
繼承: RefCounted < Object
用於設定 RenderSceneBuffers 物件的設定物件。
說明
此配置物件由渲染引擎在視窗更改時建立和填充,並用於(重新)配置 RenderSceneBuffers 物件。
屬性
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
屬性說明
ViewportAnisotropicFiltering anisotropic_filtering_level = 2 🔗
void set_anisotropic_filtering_level(value: ViewportAnisotropicFiltering)
ViewportAnisotropicFiltering get_anisotropic_filtering_level()
各向異性過濾的層級。
若使用 FSR 放大,適用 FSR 銳利度。
Vector2i internal_size = Vector2i(0, 0) 🔗
設定影像的大小,需要參考。
ViewportMSAA msaa_3d = 0 🔗
void set_msaa_3d(value: ViewportMSAA)
ViewportMSAA get_msaa_3d()
用於天空渲染的旋轉。
返回與給定面關聯的中繼資料。
ViewportScaling3DMode scaling_3d_mode = 255 🔗
void set_scaling_3d_mode(value: ViewportScaling3DMode)
ViewportScaling3DMode get_scaling_3d_mode()
如果internal_size和target_size不相等,我們放大/縮小所請求的縮放模式。
ViewportScreenSpaceAA screen_space_aa = 0 🔗
void set_screen_space_aa(value: ViewportScreenSpaceAA)
ViewportScreenSpaceAA get_screen_space_aa()
請求在後期處理中套用的螢幕空間反鋸齒。
Vector2i target_size = Vector2i(0, 0) 🔗
使用縮放時的目標(放大)大小。
float texture_mipmap_bias = 0.0 🔗
套用至 Mipmap 的偏置。
注意: 此屬性僅在 Forward+ 和 Mobile 渲染器中受支援,不支援在 Compatibility 渲染器中使用。在 Compatibility 渲染器中,該屬性始終被視為設定為 0.0。
渲染的視圖數。