summaryrefslogtreecommitdiff
path: root/src/lib/ector/gl/ector_renderer_gl.eo
blob: f310b7e40d1201d06374f5448dbbca7fdc689e4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import ector_types;

abstract Ector.Renderer.GL (Ector.Renderer)
{
   [[Ector GL renderer abstract class]]
   methods {
      fill @virtual_pure {
      	 [[Fill operation]]
         return: bool; [[$true on success, $false otherwise]]
	 params {
	    @in flags: uint64; [[GL flags]]
	    @in vertex: ptr(GLshort); [[GL vertex]]
	    @in vertex_count: uint; [[GL vertex count]]
	    @in mul_col: uint; [[Premultiplied color]]
	 }
      }
   }
   implements {
      Ector.Renderer.prepare;
      Ector.Renderer.draw;
      Efl.Object.constructor;
      Efl.Object.destructor;
   }
}