mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fix Native Window Type IDL/Bindings; (#3163)
This commit is contained in:
@@ -2016,6 +2016,22 @@ public static class bgfx
|
||||
Count
|
||||
}
|
||||
|
||||
[AllowDuplicates]
|
||||
public enum NativeWindowHandleType : uint32
|
||||
{
|
||||
/// <summary>
|
||||
/// Platform default handle type (X11 on Linux).
|
||||
/// </summary>
|
||||
Default,
|
||||
|
||||
/// <summary>
|
||||
/// Wayland.
|
||||
/// </summary>
|
||||
Wayland,
|
||||
|
||||
Count
|
||||
}
|
||||
|
||||
[AllowDuplicates]
|
||||
public enum RenderFrame : uint32
|
||||
{
|
||||
@@ -2108,6 +2124,7 @@ public static class bgfx
|
||||
public void* context;
|
||||
public void* backBuffer;
|
||||
public void* backBufferDS;
|
||||
public NativeWindowHandleType type;
|
||||
}
|
||||
|
||||
[CRepr]
|
||||
|
||||
Reference in New Issue
Block a user