set_sync
Description:
public void set_sync (void* sync)
Sets the GLSync object to use for the texture.
GTK will wait on this object before using the created `GdkTexture`.
The `destroy` function that is passed to [method@Gdk.GLTextureBuilder.build] is responsible for freeing the sync object when it is no longer needed. The texture builder does not destroy it and it is the callers responsibility to make sure it doesn't leak.
Parameters:
this |
a `GdkGLTextureBuilder` |
sync |
the GLSync object |