Ejemplo n.º 1
0
 public static void SetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib, float value)
 {
     Debug.Assert(Delegates.pwfcSetElementAttribf != null, "pwfcSetElementAttribf not implemented");
     Delegates.pwfcSetElementAttribf(dev, element, attrib, value);
     LogCommand("wfcSetElementAttribf", null, dev, element, attrib, value);
     DebugCheckErrors(null);
 }
Ejemplo n.º 2
0
 public static void SetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib, float value)
 {
     Debug.Assert(Delegates.pwfcSetElementAttribf != null, "pwfcSetElementAttribf not implemented");
     Delegates.pwfcSetElementAttribf(dev, element, attrib, value);
     LogFunction("wfcSetElementAttribf({0}, {1}, {2}, {3})", dev, element, attrib, value);
     DebugCheckErrors(null);
 }
Ejemplo n.º 3
0
        public static float GetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib)
        {
            float retValue;

            Debug.Assert(Delegates.pwfcGetElementAttribf != null, "pwfcGetElementAttribf not implemented");
            retValue = Delegates.pwfcGetElementAttribf(dev, element, attrib);
            LogCommand("wfcGetElementAttribf", retValue, dev, element, attrib);
            DebugCheckErrors(retValue);

            return(retValue);
        }
Ejemplo n.º 4
0
        public static float GetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib)
        {
            float retValue;

            Debug.Assert(Delegates.pwfcGetElementAttribf != null, "pwfcGetElementAttribf not implemented");
            retValue = Delegates.pwfcGetElementAttribf(dev, element, attrib);
            LogFunction("wfcGetElementAttribf({0}, {1}, {2}) = {3}", dev, element, attrib, retValue);
            DebugCheckErrors(retValue);

            return(retValue);
        }
Ejemplo n.º 5
0
 public static void SetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib, int count, float[] values)
 {
     unsafe
     {
         fixed(float *p_values = values)
         {
             Debug.Assert(Delegates.pwfcSetElementAttribfv != null, "pwfcSetElementAttribfv not implemented");
             Delegates.pwfcSetElementAttribfv(dev, element, attrib, count, p_values);
             LogCommand("wfcSetElementAttribfv", null, dev, element, attrib, count, values);
         }
     }
     DebugCheckErrors(null);
 }
Ejemplo n.º 6
0
 public static void SetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib, int count, float[] values)
 {
     unsafe
     {
         fixed(float *p_values = values)
         {
             Debug.Assert(Delegates.pwfcSetElementAttribfv != null, "pwfcSetElementAttribfv not implemented");
             Delegates.pwfcSetElementAttribfv(dev, element, attrib, count, p_values);
             LogFunction("wfcSetElementAttribfv({0}, {1}, {2}, {3}, {4})", dev, element, attrib, count, LogValue(values));
         }
     }
     DebugCheckErrors(null);
 }
Ejemplo n.º 7
0
 internal extern static unsafe void wfcSetElementAttribfv(UInt32 dev, UInt32 element, WFCElementAttrib attrib, int count, float *values);
Ejemplo n.º 8
0
 internal extern static void wfcSetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib, float value);
Ejemplo n.º 9
0
 internal extern static float wfcGetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib);
Ejemplo n.º 10
0
 internal extern static int wfcGetElementAttribi(UInt32 dev, UInt32 element, WFCElementAttrib attrib);