diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2012-10-01 23:14:16 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-01-04 20:29:35 +0000 |
commit | 31c337113c19c45f7326d3eaa69408f6d5bed84a (patch) | |
tree | 877ac3a0fed44415d76ab2feeafad09934bd7770 | |
parent | c1b44368b0d3500a9655e93365bfaa38f1f48836 (diff) | |
download | cogl-31c337113c19c45f7326d3eaa69408f6d5bed84a.tar.gz |
cogl-sharp: Expose VerticesMode
-rw-r--r-- | cogl-sharp/Makefile.am | 1 | ||||
-rw-r--r-- | cogl-sharp/VerticesMode.cs | 16 | ||||
-rwxr-xr-x | cogl-sharp/parse-gir.py | 6 |
3 files changed, 22 insertions, 1 deletions
diff --git a/cogl-sharp/Makefile.am b/cogl-sharp/Makefile.am index ff94efd9..f43f891e 100644 --- a/cogl-sharp/Makefile.am +++ b/cogl-sharp/Makefile.am @@ -25,6 +25,7 @@ sources = \ PipelineFilter.cs \ PipelineWrapMode.cs \ PixelFormat.cs \ + VerticesMode.cs \ Winding.cs \ AssemblyInfo.cs \ $(NULL) diff --git a/cogl-sharp/VerticesMode.cs b/cogl-sharp/VerticesMode.cs new file mode 100644 index 00000000..b7b055e1 --- /dev/null +++ b/cogl-sharp/VerticesMode.cs @@ -0,0 +1,16 @@ +/* This file has been generated by parse-gir.py, do not hand edit */ +using System; + +namespace Cogl +{ + public enum VerticesMode + { + Points = 0, + Lines = 1, + LineLoop = 2, + LineStrip = 3, + Triangles = 4, + TriangleStrip = 5, + TriangleFan = 6 + } +} diff --git a/cogl-sharp/parse-gir.py b/cogl-sharp/parse-gir.py index 87b86177..ee46222c 100755 --- a/cogl-sharp/parse-gir.py +++ b/cogl-sharp/parse-gir.py @@ -14,6 +14,7 @@ enum_types = ( "PipelineFilter", "PipelineWrapMode", "PixelFormat", + "VerticesMode", "Winding" ) @@ -35,7 +36,10 @@ name_overrides = { 'class': 'FrameBuffer', 'methods': { 'clear4f', 'clear' - } + }, + 'blacklist': ( + 'vdraw_attributes', + ) }, 'Onscreen': { 'class': 'OnScreen' |