コード例 #1
0
 internal static extern int glfwLoadTextureImage2D(ref GlfwImage img, int flags);
コード例 #2
0
 internal static extern int glfwReadMemoryImage(IntPtr data, long size, ref GlfwImage img, int flags);
コード例 #3
0
 internal static extern void glfwFreeImage(ref GlfwImage img);
コード例 #4
0
 public static int LoadTextureImage2D(ref GlfwImage img, ReadImageModes flags)
 {
     return(GlfwDelegates.glfwLoadTextureImage2D(ref img, (int)flags));
 }
コード例 #5
0
 internal static extern int glfwReadImage([MarshalAs(UnmanagedType.LPStr)] string name, out GlfwImage img, int flags);
コード例 #6
0
 public static int ReadMemoryImage(IntPtr data, long size, ref GlfwImage img, ReadImageModes flags)
 {
     return(GlfwDelegates.glfwReadMemoryImage(data, size, ref img, (int)flags));
 }
コード例 #7
0
 public static void FreeImage(ref GlfwImage img)
 {
     GlfwDelegates.glfwFreeImage(ref img);
 }
コード例 #8
0
ファイル: Glfw2.cs プロジェクト: AmzBee/Pencil.Gaming
		public static int LoadTextureImage2D(ref GlfwImage img, ReadImageModes flags) {
			return GlfwDelegates.glfwLoadTextureImage2D(ref img, (int)flags);
		}
コード例 #9
0
 public static int ReadImage(string name, out GlfwImage img, ReadImageModes flags)
 {
     return(GlfwDelegates.glfwReadImage(name, out img, (int)flags));
 }
コード例 #10
0
ファイル: Glfw2.cs プロジェクト: AmzBee/Pencil.Gaming
		public static int ReadMemoryImage(IntPtr data, long size, ref GlfwImage img, ReadImageModes flags) {
			return GlfwDelegates.glfwReadMemoryImage(data, size, ref img, (int)flags);
		}
コード例 #11
0
ファイル: Glfw2.cs プロジェクト: AmzBee/Pencil.Gaming
		public static void FreeImage(ref GlfwImage img) {
			GlfwDelegates.glfwFreeImage(ref img);
		}
コード例 #12
0
ファイル: Glfw2.cs プロジェクト: AmzBee/Pencil.Gaming
		public static int ReadImage(string name, out GlfwImage img, ReadImageModes flags) {
			return GlfwDelegates.glfwReadImage(name, out img, (int)flags);
		}
コード例 #13
0
ファイル: Glfw2_64.cs プロジェクト: nagyist/Pencil.Gaming
		internal static extern int glfwLoadTextureImage2D(ref GlfwImage img, int flags);
コード例 #14
0
ファイル: Glfw2_64.cs プロジェクト: nagyist/Pencil.Gaming
		internal static extern void glfwFreeImage(ref GlfwImage img);
コード例 #15
0
ファイル: Glfw2_64.cs プロジェクト: nagyist/Pencil.Gaming
		internal static extern int glfwReadMemoryImage(IntPtr data, long size, ref GlfwImage img, int flags);
コード例 #16
0
ファイル: Glfw2_64.cs プロジェクト: nagyist/Pencil.Gaming
		internal static extern int glfwReadImage([MarshalAs(UnmanagedType.LPStr)] string name, out GlfwImage img, int flags);