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); }
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); }
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); }
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); }
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); }
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); }
internal extern static unsafe void wfcSetElementAttribfv(UInt32 dev, UInt32 element, WFCElementAttrib attrib, int count, float *values);
internal extern static void wfcSetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib, float value);
internal extern static float wfcGetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib);
internal extern static int wfcGetElementAttribi(UInt32 dev, UInt32 element, WFCElementAttrib attrib);