mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Added bgfx::Init capabilities mask.
This commit is contained in:
@@ -2053,6 +2053,7 @@ public static class bgfx
|
||||
public RendererType type;
|
||||
public uint16 vendorId;
|
||||
public uint16 deviceId;
|
||||
public uint64 capabilities;
|
||||
public uint8 debug;
|
||||
public uint8 profile;
|
||||
public PlatformData platformData;
|
||||
|
||||
@@ -2030,6 +2030,7 @@ public static partial class bgfx
|
||||
public RendererType type;
|
||||
public ushort vendorId;
|
||||
public ushort deviceId;
|
||||
public ulong capabilities;
|
||||
public byte debug;
|
||||
public byte profile;
|
||||
public PlatformData platformData;
|
||||
|
||||
@@ -10,7 +10,7 @@ public import core.stdc.stdarg : va_list;
|
||||
|
||||
extern(C) @nogc nothrow:
|
||||
|
||||
enum uint BGFX_API_VERSION = 113;
|
||||
enum uint BGFX_API_VERSION = 114;
|
||||
|
||||
alias bgfx_view_id_t = ushort;
|
||||
|
||||
@@ -854,6 +854,7 @@ struct bgfx_init_t
|
||||
* matching id.
|
||||
*/
|
||||
ushort deviceId;
|
||||
ulong capabilities; /// Capabilities initialization mask.
|
||||
bool debug_; /// Enable device for debuging.
|
||||
bool profile; /// Enable device for profiling.
|
||||
bgfx_platform_data_t platformData; /// Platform data.
|
||||
|
||||
Reference in New Issue
Block a user