Added bgfx::Init capabilities mask.

This commit is contained in:
Бранимир Караџић
2021-04-22 20:18:48 -07:00
parent 87855128bb
commit 117c999d6e
8 changed files with 12 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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.