vertex format ABI break
							parent
							
								
									0fb7e98cb5
								
							
						
					
					
						commit
						1b5221f2c7
					
				|  | @ -1 +1 @@ | |||
| Subproject commit cd18b03c0f4cc1bd9feba57158925ac8837f5110 | ||||
| Subproject commit 2613c7b73cad1d9fea3cc1dc84435979a86f2ce1 | ||||
|  | @ -124,7 +124,8 @@ namespace MoonWorks.Graphics | |||
| 
 | ||||
| 	public enum VertexElementFormat | ||||
| 	{ | ||||
| 		Single, | ||||
| 		UInt, | ||||
| 		Float, | ||||
| 		Vector2, | ||||
| 		Vector3, | ||||
| 		Vector4, | ||||
|  |  | |||
|  | @ -14,9 +14,13 @@ | |||
| 
 | ||||
| 		public static Graphics.VertexElementFormat TypeToVertexElementFormat(System.Type type) | ||||
| 		{ | ||||
| 			if (type == typeof(uint)) | ||||
| 			{ | ||||
| 				return Graphics.VertexElementFormat.UInt; | ||||
| 			} | ||||
| 			if (type == typeof(float)) | ||||
| 			{ | ||||
| 				return Graphics.VertexElementFormat.Single; | ||||
| 				return Graphics.VertexElementFormat.Float; | ||||
| 			} | ||||
| 			else if (type == typeof(Math.Vector2)) | ||||
| 			{ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue