def METHOD_NAME(self):
    attr_defs = [
        BoolDef(
            "use_selection",
            default=not self.create_context.headless,
            label="Use selection"
        ),
        self._get_render_target_enum(),
        UISeparatorDef(),
        self._get_frame_source_number()
    ]
    return attr_defs