Version: 2017.3

ScalableBufferManager

class in UnityEngine

Cambiar al Manual

Descripción

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.

Variables Estáticas

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

Funciones Estáticas

ResizeBuffersFunction to resize all buffers marked as DynamicallyScalable.