public unsafe void Dispose() { instance = IntPtr.Zero; if (properties == null) { return; } properties.Dispose(); properties = null; }
public unsafe ObsProperty(IntPtr pointer, ObsProperties props) { instance = pointer; properties = props; }
public unsafe bool ButtonClicked(libobs.obs_property_clicked_t clicked, ObsProperties properties, IntPtr obj) { return(clicked(properties.GetPointer(), instance, obj)); }
public void ReloadProperties() { properties = reloadDelegate(); if (properties == null) return; deferUpdate = properties.Flags.HasFlag(ObsPropertiesFlags.DeferUpdate); RefreshProperties(); }
public unsafe void Dispose() { instance = IntPtr.Zero; if (properties == null) return; properties.Dispose(); properties = null; }
public unsafe bool ButtonClicked(libobs.obs_property_clicked_t clicked, ObsProperties properties, IntPtr obj) { return clicked(properties.GetPointer(), instance, obj); }