LNXSDK/Kha/Backends/WPF/kha/graphics4/VertexBuffer.hx

22 lines
432 B
Haxe
Raw Normal View History

2025-01-22 16:18:30 +01:00
package kha.graphics4;
import haxe.io.Float32Array;
class VertexBuffer {
public function new(vertexCount: Int, structure: VertexStructure, usage: Usage, canRead: Bool = false) {}
public function lock(?start: Int, ?count: Int): Float32Array {
return null;
}
public function unlock(?count: Int): Void {}
public function count(): Int {
return 0;
}
public function stride(): Int {
return 1;
}
}