convert enum RenderActionType into enum class