forked from LeenkxTeam/LNXSDK
15 lines
331 B
Haxe
15 lines
331 B
Haxe
package kha.graphics4;
|
|
|
|
class TessellationEvaluationShader {
|
|
public var shader: Dynamic;
|
|
|
|
public function new(sources: Array<Blob>, names: Array<String>) {
|
|
shader = Krom.createTessellationEvaluationShader(sources[0].bytes.getData(), names[0]);
|
|
}
|
|
|
|
public function delete() {
|
|
Krom.deleteShader(shader);
|
|
shader = null;
|
|
}
|
|
}
|