summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_buffer_base.eo
blob: 39ad47ccac9fb186e6e1def1046e33cadcee808d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mixin @beta Ector.Software.Buffer.Base extends Ector.Buffer
{
   [[A buffer in Ector Software is a readable & optionally writable image]]
   c_prefix: ector_software_buffer;
   methods {
      pixels_clear @protected {
        [[Clear internal pixel buffer]]
      }
   }
   implements {
      Ector.Buffer.flags { get; }
      Ector.Buffer.pixels_set;
      Ector.Buffer.pixels_get;
      Ector.Buffer.map;
      Ector.Buffer.unmap;
   }
}