文档

Unity Engine

Unity Engine

DynamicallyScalableExplicit

Set this flag to mark this RenderTexture for Dynamic Resolution, if the target platform/graphics API supports Dynamic Resolution.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
DynamicallyScalableExplicit = 131072

Remarks

If you set this flag, you need to scale the render texture manually, instead of using
ScalableBufferManager.ResizeBuffers
.
This flag is mutually exclusive with RenderTextureCreationFlags.DynamicallyScalable. Refer to RenderTexture.ApplyDynamicScale and Dynamic resolution for more details.