mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Add BGR versions of 16 bit formats (#2897)
* pixelformats: Add BGRA4 * pixelformats: Add BGR5A1 * pixelformats: Add B5G6R5 * make idl
This commit is contained in:
@@ -1746,8 +1746,11 @@ public static class bgfx
|
||||
RGBA32I,
|
||||
RGBA32U,
|
||||
RGBA32F,
|
||||
B5G6R5,
|
||||
R5G6B5,
|
||||
BGRA4,
|
||||
RGBA4,
|
||||
BGR5A1,
|
||||
RGB5A1,
|
||||
RGB10A2,
|
||||
RG11B10F,
|
||||
@@ -2037,7 +2040,7 @@ public static class bgfx
|
||||
public uint8 numGPUs;
|
||||
public GPU[4] gpu;
|
||||
public Limits limits;
|
||||
public uint16[85] formats;
|
||||
public uint16[88] formats;
|
||||
}
|
||||
|
||||
[CRepr]
|
||||
|
||||
Reference in New Issue
Block a user