167 Commits

Author SHA1 Message Date
Branimir Karadžić
7e8bb589f1 Added setUniformRef, BGFX_TEXTURE_SRGB_MUTABLE, and byte-range compute buffer bindings. (#3974) 2026-09-12 06:49:53 +00:00
Branimir Karadžić
2e51cb6aa9 Added depth control, sample mask, and read-only depth/stencil attachments. (#3971) 2026-09-11 05:22:53 +00:00
Branimir Karadžić
8c8b6b5692 Raised renderer baseline, and removed caps every backend now supports. (#3962) 2026-09-05 05:24:56 +00:00
Branimir Karadžić
01dbbbc08c Added swap-chain. (#3959) 2026-09-05 01:44:33 +00:00
Branimir Karadžić
c949b911fc Reduce default footprint: optional debug text, drop unused shader copies. (#3938) 2026-08-29 22:32:32 -07:00
Branimir Karadžić
0432b5d3c5 Reworked blit to use regions, added buffer blit and read buffer. (#3924) 2026-08-25 03:31:09 +00:00
Branimir Karadžić
dd961560d5 Raw buffers (#3920)
* Added raw compute buffers, resource type/dimension now comes from shader reflection. Bumped shader version to 12.

* Rebuild internal embedded shaders.

* Updated bindings.

* Rebuild embedded shaders.

* Rebuilt shaders.

* Updated bindings.
2026-08-22 20:03:12 -07:00
Gustavo Maciel
19eedfed66 Fixes missing type bug in zig-bindings introduced on #3756 (#3919)
Co-authored-by: Gustavo Maciel <gus@tavomaciel>
2026-08-23 01:47:50 +00:00
Lcbx
53e3c599fd python bindings follow-up (#3916)
* docs: update python bindings link

* python bindings : generate matching .pyi file (stub file used for type checking / documenting public interface)

* python bindings : make only .pyi have documentation comment / docstrings
2026-08-22 00:27:54 +00:00
Lcbx
c772ecc3f5 add python bindings generator (#3915)
* add python binding generator

* add idl generated python binding
2026-08-21 11:27:11 -07:00
Branimir Karadžić
fde976604c Raised minimum OpenGL version to 4.3. OpenGLES to 3.0. Removed glsl-optimizer. (#3905) 2026-08-19 10:12:25 -07:00
Branimir Karadžić
35a98dd645 Grow per-frame storage on-demand instead statically allocating for the maximum. (#3900) 2026-08-16 17:26:25 -07:00
Branimir Karadžić
8377801ee0 Add BC4S, BC5S, BC6HU, RGB10A2U and D32FS8 texture formats. (#3857) 2026-07-29 21:25:53 +00:00
Branimir Karadžić
ce18bdb6c6 Allow negative x/y in bgfx::setViewRect. (#3848) 2026-07-25 15:04:06 +00:00
Branimir Karadžić
435627021d Added clear texture API. (#3836) 2026-07-16 05:41:58 +00:00
Branimir Karadžić
a4555482f9 Increased number of texcoord attributes, increased instance data, added int32/uint32 vertex attributes. (#3832) 2026-07-14 05:15:13 +00:00
Branimir Karadžić
6eb09a4a9b Added setImage with array layer range for compute images. (#3829) 2026-07-13 04:19:07 +00:00
Branimir Karadžić
7b38346442 Added stencil write mask. (#3821) 2026-07-11 23:46:38 -07:00
Branimir Karadžić
86ad82cfe2 Reduce amount of memory used. Allow dynamic draw call buffer resizing per frame. (#3790) 2026-06-28 05:05:25 +00:00
Branimir Karadžić
4f1930a87b Fixed bad merge. (#3757) 2026-06-13 23:59:30 -07:00
Branimir Karadžić
d5ea625272 Added video decoder support. (#3756) 2026-06-14 06:49:15 +00:00
Branimir Karadžić
e92490c3f7 Added _layer parameter to bgfx::readTexture for texture array/cubemap readback. Closes #3235. (#3737) 2026-06-07 09:22:37 -07:00
Branimir Karadžić
11151de78d Added setTexture view API. (#3728) 2026-06-06 17:34:02 +00:00
Jaziel Guerrero
0d4141d03a Updated C3 binding script to generate C3 binding based on C3 v0.8.0 (#3720) 2026-05-28 20:38:35 -07:00
Branimir Karadžić
f3ad0e91af Removed bgfx::weldVertices. (#3659) 2026-04-13 01:30:57 +00:00
Branimir Karadžić
a73c12db8f Added bgfx::AttribType::Int8/Uint16. (#3626) 2026-03-09 06:13:51 +00:00
Branimir Karadžić
2721c747ae Added BGFX_FRAME_FLUSH. (#3623) 2026-03-07 04:50:46 +00:00
Branimir Karadžić
298f5b0202 Improved docs on bgfx::begin/end. (#3621) 2026-03-06 05:37:34 +00:00
Branimir Karadžić
de17eda241 Improved documentation. Added IDL docs. (#3619) 2026-03-05 06:55:05 +00:00
Branimir Karadžić
0c45d90ca7 Updated bindings. (#3615) 2026-02-28 23:35:50 +00:00
Branimir Karadžić
874a013bf0 Updated bindings. (#3611) 2026-02-28 08:10:19 +00:00
Branimir Karadžić
91814c9729 Added flag for texture formats that can be used as back-buffer format. (#3605) 2026-02-22 02:44:26 +00:00
Branimir Karadžić
856208328c Use back buffer format when capturing screen shot. (#3603) 2026-02-20 00:46:41 +00:00
Branimir Karadžić
c85fa25266 Added BGFX_FRAME_* flags to add ability to discard all draw calls. (#3599) 2026-02-19 01:42:31 +00:00
Branimir Karadžić
40e614c45d Added external texture parameter. (#3596)
* Added external texture parameter.

* Use uint64_t instead of uintptr_t for external texture because VkImage is always 64-bit.
2026-02-18 20:12:37 +00:00
Branimir Karadžić
c37ba1db0f Updated version, regenerated bindings. (#3568) 2026-01-30 17:05:25 +00:00
Branimir Karadžić
868c66e1ed Added WebGPU. (#3544) 2026-01-10 04:09:39 +00:00
Branimir Karadžić
241e9c3330 Added Init.fallback option. Cleanup. (#3522) 2025-12-24 04:29:32 +00:00
Branimir Karadžić
587518dc5e Fixed IDL. (#3495) 2025-11-13 15:39:39 +00:00
Branimir Karadžić
9e8ecf4af4 Added EAC texture formats. (#3487) 2025-11-11 08:39:24 -08:00
Branimir Karadžić
35911ac2d9 Added uniform frequency. (#3485)
* Added uniform frequency.

* Cleanup.

* Cleanup.
2025-11-10 23:41:33 +00:00
Бранимир Караџић
358223c63e Added variable rate shading. 2025-11-06 17:21:53 -08:00
Бранимир Караџић
c9bcbe62d4 Fixed IDL typo. 2025-10-29 21:55:57 -07:00
Branimir Karadžić
16cf4f8683 Added ability to configure minimum uniform buffer size. 2025-10-29 16:06:17 -07:00
Бранимир Караџић
959cab248e Added ability to configure backbuffer depth/stencil. 2025-10-29 12:10:41 -07:00
Бранимир Караџић
cd3749dac9 Cleanup. 2025-10-25 22:18:15 -07:00
Gary Hsu
e7c2c69edb Add optional layerIndex argument to overrideInternal (#3477)
* Add optional layerIndex argument to overrideInternal

* Run genie idl
2025-10-26 05:12:34 +00:00
IchorDev
af31da1d3a D bindings: Fix nested struct methods, formatting, and Memory mutability (#3471)
Co-authored-by: IchorDev <ichordev@noreply.git.sleeping.town>
2025-10-10 16:01:41 +00:00
Jaziel Guerrero
9dfcab69f7 Add bindings for C3 Lang (#3456)
* Added bindings for C3 lang

* Fix sub-struct generation. Fix empty struct. Fix doc comments. These issues didn't allow the c3 compilation

* Add @extern for each function to match C API

* Add gen suffix to keep naming consistency
2025-08-31 02:44:28 +00:00
Scott Campbell
14426c32c9 Beef binding using int instead of int32 (#3440)
* int32_t changed to int, should have been int32

* Update bgfx.bf from idl gen
2025-07-11 08:34:54 +01:00