|
@@ -57,6 +57,16 @@ class Format {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ Decode any image data into ARGB pixels
|
|
|
+ **/
|
|
|
+ #if (hl_ver >= ~/1.10/)
|
|
|
+ @:hlNative("fmt","img_decode")
|
|
|
+ public static function decodeIMG( src : hl.Bytes, srcLen : Int, dst : hl.Bytes, width : Int, height : Int ) : Bool {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ #end
|
|
|
+
|
|
|
/**
|
|
|
Upscale/downscale an image.
|
|
|
Currently supported flag bits: 1 = bilinear filtering
|
|
@@ -76,7 +86,6 @@ class Format {
|
|
|
|
|
|
}
|
|
|
|
|
|
-#if !hl_disable_mikkt
|
|
|
class Mikktspace {
|
|
|
public var buffer : hl.BytesAccess<Single>;
|
|
|
public var stride : Int;
|
|
@@ -99,4 +108,3 @@ class Mikktspace {
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
-#end
|