mojoshader.h
changeset 1037 b102a563d9cb
parent 1035 5855d767e4b2
child 1040 053626102255
--- a/mojoshader.h	Tue May 31 03:23:39 2011 -0400
+++ b/mojoshader.h	Tue May 31 16:01:10 2011 -0400
@@ -699,6 +699,12 @@
 
 /* Effects interface... */  /* !!! FIXME: THIS API IS NOT STABLE YET! */
 
+typedef struct MOJOSHADER_effectParam
+{
+    const char *name;
+    const char *semantic;
+} MOJOSHADER_effectParam;
+
 typedef struct MOJOSHADER_effectState
 {
     unsigned int type;
@@ -755,6 +761,18 @@
     const char *profile;
 
     /*
+     * The number of params pointed to by (params).
+     */
+    int param_count;
+
+    /*
+     * (param_count) elements of data that specify parameter bind points for
+     *  this effect.
+     * This can be NULL on error or if (param_count) is zero.
+     */
+    MOJOSHADER_effectParam *params;
+
+    /*
      * The number of elements pointed to by (techniques).
      */
     int technique_count;