tinygi
annotate src/tgi_impl.h @ 2:72752a1b3dbe
images and shapes
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 21 Jul 2015 04:30:00 +0300 |
parents | bc64090fe3d1 |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef TGI_IMPL_H_ |
nuclear@0 | 2 #define TGI_IMPL_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include "tinygi.h" |
nuclear@0 | 5 #include "object.h" |
nuclear@0 | 6 #include "logger.h" |
nuclear@1 | 7 #include "vmath/vmath.h" |
nuclear@2 | 8 #include "image.h" |
nuclear@0 | 9 |
nuclear@0 | 10 struct tinygi { |
nuclear@2 | 11 /* fb is a sample accumulator, needs to be divided by nsamples for fbfinal */ |
nuclear@2 | 12 struct image fb; |
nuclear@2 | 13 struct image fbfinal; /* result of tgi_expose */ |
nuclear@2 | 14 float *fb_nsamples; |
nuclear@2 | 15 |
nuclear@0 | 16 struct tgi_object **objects; /* dynarr */ |
nuclear@0 | 17 }; |
nuclear@0 | 18 |
nuclear@0 | 19 #endif /* TGI_IMPL_H_ */ |