Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,30 @@
package kha.graphics4;
import kha.graphics4.Usage;
class IndexBuffer {
var data: Array<Int>;
var mySize: Int;
public function new(indexCount: Int, usage: Usage, canRead: Bool = false) {
mySize = indexCount;
data = new Array<Int>();
data[indexCount - 1] = 0;
}
public function delete(): Void {
data = null;
}
public function lock(?start: Int, ?count: Int): Array<Int> {
return data;
}
public function unlock(?count: Int): Void {}
public function set(): Void {}
public function count(): Int {
return mySize;
}
}