Exemplo n.º 1
0
 public Buffer(Drawable drawable, IntPtr data)
 {
     Handle = GlitzAPI.glitz_buffer_create_for_data(data);
     GlitzAPI.glitz_buffer_reference(Handle);
 }
Exemplo n.º 2
0
 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);
 }