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