LNXSDK/Kha/Sources/kha/graphics4/VertexBuffer.hx
2025-01-22 16:18:30 +01:00

13 lines
438 B
Haxe

package kha.graphics4;
import kha.arrays.Float32Array;
extern class VertexBuffer {
public function new(vertexCount: Int, structure: VertexStructure, usage: Usage, instanceDataStepRate: Int = 0, canRead: Bool = false);
public function delete(): Void;
public function lock(?start: Int, ?count: Int): Float32Array;
public function unlock(?count: Int): Void;
public function count(): Int;
public function stride(): Int;
}