summaryrefslogtreecommitdiff
path: root/src/lib/ector/gl/ector_renderer_gl.eo
blob: 592b5952fc99282c5be0ae8b8c6f207b4738a825 (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 @pure_virtual {
      	 [[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;
   }
}