This commit is contained in:
Бранимир Караџић
2023-06-13 18:27:31 -07:00
parent 498c34273b
commit 02e67ff404
12 changed files with 26 additions and 20 deletions

View File

@@ -2114,7 +2114,7 @@ public static class bgfx
public uint32 reset;
public uint8 numBackBuffers;
public uint8 maxFrameLatency;
public uint8 scaleDebug;
public uint8 debugTextScale;
}
[CRepr]

View File

@@ -2093,7 +2093,7 @@ public static partial class bgfx
public uint reset;
public byte numBackBuffers;
public byte maxFrameLatency;
public byte scaleDebug;
public byte debugTextScale;
}
public unsafe struct Init

View File

@@ -18,7 +18,7 @@ enum expandEnum(EnumType, string fqnEnumType = EnumType.stringof) = (){
extern(C) @nogc nothrow:
enum uint BGFX_API_VERSION = 119;
enum uint BGFX_API_VERSION = 120;
alias bgfx_view_id_t = ushort;
@@ -886,7 +886,7 @@ struct bgfx_resolution_t
uint reset; /// Reset parameters.
ubyte numBackBuffers; /// Number of back buffers.
ubyte maxFrameLatency; /// Maximum frame latency.
ubyte scaleDebug; /// Scale factor for debug view.
ubyte debugTextScale; /// Scale factor for debug text.
}
/// Configurable runtime limits parameters.

View File

@@ -1338,7 +1338,7 @@ pub const Caps = extern struct {
reset: u32,
numBackBuffers: u8,
maxFrameLatency: u8,
scaleDebug: u8,
debugTextScale: u8,
};
pub const Init = extern struct {