20 lines
411 B
Haxe
20 lines
411 B
Haxe
package kha.graphics4;
|
|
|
|
class VertexBuffer {
|
|
public function new(vertexCount: Int, structure: VertexStructure, usage: Usage, canRead: Bool = false) {}
|
|
|
|
public function lock(?start: Int, ?count: Int): kha.arrays.Float32Array {
|
|
return null;
|
|
}
|
|
|
|
public function unlock(?count: Int): Void {}
|
|
|
|
public function count(): Int {
|
|
return 0;
|
|
}
|
|
|
|
public function stride(): Int {
|
|
return 1;
|
|
}
|
|
}
|