14 lines
302 B
Haxe
14 lines
302 B
Haxe
|
package kha.graphics4;
|
||
|
|
||
|
import kha.Blob;
|
||
|
|
||
|
extern class VertexShader {
|
||
|
public function new(sources: Array<Blob>, files: Array<String>);
|
||
|
public function delete(): Void;
|
||
|
|
||
|
/**
|
||
|
Beware: This function is not portable.
|
||
|
**/
|
||
|
public static function fromSource(source: String): VertexShader;
|
||
|
}
|