コード例 #1
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: piRepos/OpenGL.Net
 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);
 }
コード例 #2
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: vipyami/OpenGL.Net
 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);
 }
コード例 #3
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: piRepos/OpenGL.Net
        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);
        }
コード例 #4
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: vipyami/OpenGL.Net
        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);
        }
コード例 #5
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: piRepos/OpenGL.Net
 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);
 }
コード例 #6
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: vipyami/OpenGL.Net
 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);
 }
コード例 #7
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: piRepos/OpenGL.Net
 internal extern static unsafe void wfcSetElementAttribfv(UInt32 dev, UInt32 element, WFCElementAttrib attrib, int count, float *values);
コード例 #8
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: piRepos/OpenGL.Net
 internal extern static void wfcSetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib, float value);
コード例 #9
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: piRepos/OpenGL.Net
 internal extern static float wfcGetElementAttribf(UInt32 dev, UInt32 element, WFCElementAttrib attrib);
コード例 #10
0
ファイル: Wfc.VERSION_1_0.cs プロジェクト: piRepos/OpenGL.Net
 internal extern static int wfcGetElementAttribi(UInt32 dev, UInt32 element, WFCElementAttrib attrib);