The example pbuffer1 shows how to use background buffer.
