A general function of all cellular membranes is to regulate which materials can enter or leave the cell. move the cell. produce proteins for the cell. support the cell and determine its shape. produce energy for the cell.