22 lines
		
	
	
		
			410 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			410 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
|  | package kha.wpf; | ||
|  | 
 | ||
|  | class Graphics { | ||
|  | 	public function new() {} | ||
|  | 
 | ||
|  | 	// public function createTexture(width: Int, height: Int, format: TextureFormat, usage: Usage): Image { | ||
|  | 	//	return new Image(width, height, format); | ||
|  | 	// } | ||
|  | 
 | ||
|  | 	public function maxTextureSize(): Int { | ||
|  | 		return 4096; | ||
|  | 	} | ||
|  | 
 | ||
|  | 	public function vsynced(): Bool { | ||
|  | 		return true; | ||
|  | 	} | ||
|  | 
 | ||
|  | 	public function refreshRate(): Int { | ||
|  | 		return 60; | ||
|  | 	} | ||
|  | } |