public Buffer(Drawable drawable, IntPtr data) { Handle = GlitzAPI.glitz_buffer_create_for_data(data); GlitzAPI.glitz_buffer_reference(Handle); }
public Buffer(Drawable drawable, IntPtr data, uint size, BufferHint hint) { Handle = GlitzAPI.glitz_buffer_create(drawable.Handle, data, size, hint); GlitzAPI.glitz_buffer_reference(Handle); }