toInt static method

int toInt(
  1. RenderModeEnum value
)

转换为常量类型 value 枚举 Return 转换结果

Implementation

static int toInt(RenderModeEnum value) => value.index;