WPEPlatform.Buffer.set_rendering_fence

### Method

# WPEPlatform Bufferset_rendering_fence

#### Declaration [src]

    void
    wpe_buffer_set_rendering_fence (
      WPEBuffer* buffer,
      int fd
    )

#### Description [src]

Set the rendering fence file descriptor to use for the `buffer`. The fence will be used to wait before rendering the buffer when the display supports explicit sync, see wpe_display_use_explicit_sync(). The buffer takes the ownership of the file descriptor.

#### Parameters

`fd`

  Type: `int`

  A file descriptor, or -1.