ector: further document gl buffer base class

This commit is contained in:
Stefan Schmidt 2016-06-30 12:49:38 +02:00
parent 159171a073
commit dcb7751f35
1 changed files with 5 additions and 2 deletions

View File

@ -1,13 +1,16 @@
mixin Ector.GL.Buffer.Base (Ector.Buffer)
{
[[Ector GL buffer base class]]
methods {
@property texture {
[[GL texture ID]]
get {}
values {
texid: int; [[GL texture ID]]
}
}
@property fbo {
[[Framebuffer object ID]]
get {}
values {
fboid: int; [[GL framebuffer ID, 0 if there is no FBO]]
@ -38,8 +41,8 @@ mixin Ector.GL.Buffer.Base (Ector.Buffer)
attach @protected {
[[Attach to an existing texture (or FBO). Used from child classes.]]
params {
texid: int;
fboid: int;
texid: int; [[GL texture ID]]
fboid: int; [[Framebuffer object ID]]
cspace: Efl.Gfx.Colorspace;
imw: int;
imh: int;