package kha.graphics4; class GeometryShader { public var shader: Dynamic; public function new(sources: Array, names: Array) { shader = Krom.createGeometryShader(sources[0].bytes.getData(), names[0]); } public function delete() { Krom.deleteShader(shader); shader = null; } }