summaryrefslogblamecommitdiff
path: root/src/lib/ector/software/ector_software_buffer_base.eo
blob: b2e9bec7f4be7314bf69b7f6614a0debb82c80c0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                               


                                                                           

                               
                                       


               





                              

    
mixin Ector.Software.Buffer.Base (Ector.Buffer)
{
   [[A buffer in Ector Software is a readable & optionally writable image]]
   eo_prefix: ector_software_buffer;
   methods {
      pixels_clear @protected {
        [[Clear internal pixel buffer]]
      }
   }
   implements {
      Ector.Buffer.flags.get;
      Ector.Buffer.pixels_set;
      Ector.Buffer.span_get;
      Ector.Buffer.span_free;
      Ector.Buffer.map;
      Ector.Buffer.unmap;
   }
}