您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

31 行
1000 B

using Unity.UIWidgets.foundation;
namespace Unity.UIWidgets.editor {
public class WindowConfig {
public readonly bool disableRasterCache;
public static float MaxRasterImageSize = 4096;
static bool? _disableComputeBuffer = null;
public static bool disableComputeBuffer {
//disable compute buffer by default for now
get { return _disableComputeBuffer ?? true; }
set {
D.assert(_disableComputeBuffer == null
|| _disableComputeBuffer == value
, () => "The global settings of [disableComputeBuffer] cannot be initiated for multiple times!");
_disableComputeBuffer = value;
}
}
public WindowConfig(bool disableRasterCache) {
this.disableRasterCache = disableRasterCache;
}
public static readonly WindowConfig defaultConfig = new WindowConfig(
disableRasterCache: false
);
}
}