forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
21
Kha/Backends/WPF/kha/wpf/Graphics.hx
Normal file
21
Kha/Backends/WPF/kha/wpf/Graphics.hx
Normal file
@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user