def METHOD_NAME(self):
    if self.wireframe_render_enabled:
        vertices = self.vertices
        colors = self.edge_colors
        if colors.method == ColorSpecificationMethod.UNIFORM:
            glBegin(GL_LINES)
            glColor4f(*colors.data)
            for edge in self.edges:
                glVertex3f(*vertices[edge[0]])
                glVertex3f(*vertices[edge[1]])
            glEnd()
        elif colors.method == ColorSpecificationMethod.BY_COMPONENT:
            glBegin(GL_LINES)
            for edge, color in zip(self.edges, colors.data):
                glColor4f(*color)
                glVertex3f(*vertices[edge[0]])
                glVertex3f(*vertices[edge[1]])
            glEnd()
        elif colors.method == ColorSpecificationMethod.BY_VERTEX:
            raise NotImplementedError("Vertex coloring of wireframe is currently not supported")
        else:
            raise ValueError(f"Unknown coloring method: {ColorSpecification.method}")