|
@@ -8,7 +8,7 @@ typedef Query = {};
|
|
|
#elseif js
|
|
|
typedef IndexBuffer = { b : js.html.webgl.Buffer, is32 : Bool };
|
|
|
typedef GPUBuffer = js.html.webgl.Buffer;
|
|
|
-typedef Texture = { t : js.html.webgl.Texture, width : Int, height : Int, internalFmt : Int, pixelFmt : Int, bits : Int, bias : Float, bind : Int #if multidriver, driver : Driver #end };
|
|
|
+typedef Texture = { t : js.html.webgl.Texture, width : Int, height : Int, internalFmt : Int, pixelFmt : Int, bits : Int, bias : Float, bind : Int #if multidriver, driver : Driver #end, startMip : Int };
|
|
|
typedef Query = {};
|
|
|
#elseif hlsdl
|
|
|
typedef IndexBuffer = { b : sdl.GL.Buffer, is32 : Bool };
|
|
@@ -18,7 +18,7 @@ typedef Query = { q : sdl.GL.Query, kind : QueryKind };
|
|
|
#elseif usegl
|
|
|
typedef IndexBuffer = { b : haxe.GLTypes.Buffer, is32 : Bool };
|
|
|
typedef GPUBuffer = haxe.GLTypes.Buffer;
|
|
|
-typedef Texture = { t : haxe.GLTypes.Texture, width : Int, height : Int, internalFmt : Int, pixelFmt : Int, bits : Int, bind : Int, bias : Float };
|
|
|
+typedef Texture = { t : haxe.GLTypes.Texture, width : Int, height : Int, internalFmt : Int, pixelFmt : Int, bits : Int, bind : Int, bias : Float, startMip : Int };
|
|
|
typedef Query = { q : haxe.GLTypes.Query, kind : QueryKind };
|
|
|
#elseif (hldx && dx12)
|
|
|
typedef IndexBuffer = DX12Driver.IndexBufferData;
|