r(SetAllSubsurfRenderLevels.bl_idname, text="Subdivision - 1", icon="MOD_SUBSURF")
        operator.mode = 'RELATIVE'
        operator.levels = -1
        self.layout.separator()
        operator = self.layout.operator(SetAllSubsurfRenderLevels.bl_idname, text="Subdivision = 0", icon="MOD_SUBSURF")
        operator.mode = 'ABSOLUTE'
        operator.levels = 0
        operator = self.layout.operator(SetAllSubsurfRenderLevels.bl_idname, text="Subdivision = 1", icon="MOD_SUBSURF")
        operator.mode = 'ABSOLUTE'
        operator.levels = 1
        operator = self.layout.operator(SetAllSubsurfRenderLevels.bl_idname, text="Subdivision = 2", icon="MOD_SUBSURF")
        operator.mode = 'ABSOLUTE'
        operator.levels = 2
        operator = self.layout.operator(SetAllSubsurfRenderLevels.bl_idname, text="Subdivision = 3", icon="MOD_SUBSURF")
        operator.mode = 'ABSOLUTE'
        operator.levels = 3
        self.layout.separator()
        self.layout.operator(SyncAllSubsurfRenderLevels.bl_idname, text="Sync Subsurf Render Levels", icon="MOD_SUBSURF")


class RenderToolsMenu(bpy.types.Operator):
    bl_idname = "render.render_tools"
    bl_label = "Render Settings"
    bl_description = "Pop up Render Settings"
    COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH', 'CYCLES'}
    def draw(self, context):
        # Cycles
        layout = self.layout
        layout.operator_context = 'INVOKE_REGION_WIN'
        scene = context.scene
        cscene = scene.cycles


        self.layout.label(text="Render Cycles")
        self.layout.separator()
        self.layout.operator("render.render", text="Render Image").use_viewport = True
        self.layout.operator("render.render", text="Render Animation")
        self.layout.separator()
        self.layout.prop(context.scene.render, 'resolution_x', text="Resolution X")
        self.layout.prop(context.scene.render, 'resolution_y', text="Resolution Y")
        self.layout.prop(context.scene.render, "resolution_percentage", text="Render Resolution")
  