Version: 2018.2

ScalableBufferManager

class in UnityEngine

Switch to Manual

Description

Scales render textures to support dynamic resolution if the target platform/graphics API supports it.

The ScalableBufferManager handles the scaling of any render textures that you have marked to be DynamicallyScalable, when ResizeBuffers is called. All render textures marked as DynamicallyScalable are scaled by a width and height scale factor, the reason the scale is controlled through a scale factor and not with a specific width and height value is because different render textures will be different sizes but will want to be scaled by a common factor.

Static Variables

heightScaleFactorHeight scale factor to control dynamic resolution.
widthScaleFactorWidth scale factor to control dynamic resolution.

Static Functions

ResizeBuffersFunction to resize all buffers marked as DynamicallyScalable.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961