[cogl/wip/cogl-sharp: 45/51] cogl-sharp: Expose DepthTestFunction



commit c03bb3d4c5c1ad961391362beeb8f01bcb0e651c
Author: Damien Lespiau <damien lespiau intel com>
Date:   Sun Nov 4 01:28:33 2012 +0000

    cogl-sharp: Expose DepthTestFunction

 cogl-sharp/DepthTestFunction.cs |   17 +++++++++++++++++
 cogl-sharp/Makefile.am          |    1 +
 cogl-sharp/parse-gir.py         |    1 +
 3 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/cogl-sharp/DepthTestFunction.cs b/cogl-sharp/DepthTestFunction.cs
new file mode 100644
index 0000000..acbaf03
--- /dev/null
+++ b/cogl-sharp/DepthTestFunction.cs
@@ -0,0 +1,17 @@
+/* This file has been generated by parse-gir.py, do not hand edit */
+using System;
+
+namespace Cogl
+{
+    public enum DepthTestFunction
+    {
+        Never = 512,
+        Less = 513,
+        Equal = 514,
+        Lequal = 515,
+        Greater = 516,
+        Notequal = 517,
+        Gequal = 518,
+        Always = 519
+    }
+}
diff --git a/cogl-sharp/Makefile.am b/cogl-sharp/Makefile.am
index 5c3fff9..2648c35 100644
--- a/cogl-sharp/Makefile.am
+++ b/cogl-sharp/Makefile.am
@@ -14,6 +14,7 @@ sources =			\
 	ColorMask.cs		\
 	Context.cs		\
 	_Context.cs		\
+	DepthTestFunction.cs	\
 	Display.cs		\
 	_Display.cs		\
 	Driver.cs		\
diff --git a/cogl-sharp/parse-gir.py b/cogl-sharp/parse-gir.py
index 2a2d73d..4a0939b 100755
--- a/cogl-sharp/parse-gir.py
+++ b/cogl-sharp/parse-gir.py
@@ -9,6 +9,7 @@ C_NS = "http://www.gtk.org/introspection/c/1.0";
 enum_types = (
     "BufferBit",
     "ColorMask",
+    "DepthTestFunction",
     "Driver",
     "PipelineAlphaFunc",
     "PipelineCullFaceMode",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]