summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-06-30 12:49:38 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-06-30 15:17:58 +0200
commitdcb7751f35f07e932391c570286d992d32161c40 (patch)
treea00ef85f24d1896511b0da843c035f32f606895b /src
parent159171a0737ba986b5cfb9447d46af73fcdffea2 (diff)
ector: further document gl buffer base class
Diffstat (limited to 'src')
-rw-r--r--src/lib/ector/gl/ector_gl_buffer_base.eo7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/ector/gl/ector_gl_buffer_base.eo b/src/lib/ector/gl/ector_gl_buffer_base.eo
index df53763..87fad09 100644
--- a/src/lib/ector/gl/ector_gl_buffer_base.eo
+++ b/src/lib/ector/gl/ector_gl_buffer_base.eo
@@ -1,13 +1,16 @@
1mixin Ector.GL.Buffer.Base (Ector.Buffer) 1mixin Ector.GL.Buffer.Base (Ector.Buffer)
2{ 2{
3 [[Ector GL buffer base class]]
3 methods { 4 methods {
4 @property texture { 5 @property texture {
6 [[GL texture ID]]
5 get {} 7 get {}
6 values { 8 values {
7 texid: int; [[GL texture ID]] 9 texid: int; [[GL texture ID]]
8 } 10 }
9 } 11 }
10 @property fbo { 12 @property fbo {
13 [[Framebuffer object ID]]
11 get {} 14 get {}
12 values { 15 values {
13 fboid: int; [[GL framebuffer ID, 0 if there is no FBO]] 16 fboid: int; [[GL framebuffer ID, 0 if there is no FBO]]
@@ -38,8 +41,8 @@ mixin Ector.GL.Buffer.Base (Ector.Buffer)
38 attach @protected { 41 attach @protected {
39 [[Attach to an existing texture (or FBO). Used from child classes.]] 42 [[Attach to an existing texture (or FBO). Used from child classes.]]
40 params { 43 params {
41 texid: int; 44 texid: int; [[GL texture ID]]
42 fboid: int; 45 fboid: int; [[Framebuffer object ID]]
43 cspace: Efl.Gfx.Colorspace; 46 cspace: Efl.Gfx.Colorspace;
44 imw: int; 47 imw: int;
45 imh: int; 48 imh: int;