bgfx/scripts
Sandy 651432df1d
examples: Add imageformats example (#2872)
* examples: Add imageformats example

Example which renders RGBA color wheel, alpha gradient and full value channel textures to
catch conversion errors and bad internal type representations between different backend
renderers.

The example uses bimg to convert from a master texture to different textures.

Each texture is rendered in an ImGui list using `ImGui::Image`. A close-up is visible
when hovering over each image.

U and I textures are skipped because they don't work for sampling.
Compressed textures are skipped because they don't have conversion functions.
Depth textures are not rendered because they don't work with channels.

* pixelformats: Present texture format in table

* Update pixelformats.cpp

* Update pixelformats.cpp

* pixelformats: Update screenshot

* pixelformats: Add checkerboard background

Co-authored-by: Michał Cichoń <michcic@gmail.com>
Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2022-08-22 12:16:58 -07:00
..
bgfx-codegen.lua Updated IDL scripts. 2019-07-04 18:47:08 -07:00
bgfx.doxygen Switching to genie. 2014-09-10 21:04:42 -07:00
bgfx.idl premultiplied backbuffer for UWP/SwapchainPanel (#2837) 2022-07-18 09:23:57 -07:00
bgfx.lua Happy New Year! 2022-01-15 11:59:06 -08:00
bgfx.natvis Updated natvis. 2020-09-30 13:49:34 -07:00
bindings-bf.lua Happy New Year! 2022-01-15 11:59:06 -08:00
bindings-cs.lua Happy New Year! 2022-01-15 11:59:06 -08:00
bindings-d.lua Updated D bindings: enums expanded; added some C++ pre-processor functions (#2742) 2022-03-08 11:25:54 -08:00
bindings-zig.lua Fix typos (#2839) 2022-07-12 14:21:31 -07:00
build.ninja using meshoptimizer for vertex cache/fetch optim and index/vertex buffer compression 2019-04-13 16:07:06 +02:00
codegen.lua Minor rewording & increase of clarity (#2752) 2022-03-31 18:07:21 -07:00
doxygen.lua Updated IDL scripts. 2019-07-04 18:47:08 -07:00
example-common.lua Happy New Year! 2022-01-15 11:59:06 -08:00
genie.lua examples: Add imageformats example (#2872) 2022-08-22 12:16:58 -07:00
geometryc.lua Happy New Year! 2022-01-15 11:59:06 -08:00
geometryv.lua Metal: Added GPU vendorId/deviceId detection. Fixed #2688. 2021-12-19 23:11:33 -08:00
idl.lua Updated IDL. 2019-07-14 21:19:46 -07:00
shader-embeded.mk Happy New Year! 2022-01-15 11:59:06 -08:00
shader.mk Happy New Year! 2022-01-15 11:59:06 -08:00
shaderc.lua Updated spirv-tools. 2022-07-29 21:41:54 -07:00
temp.bgfx.h Happy New Year! 2022-01-15 11:59:06 -08:00
temp.bgfx.idl.inl Happy New Year! 2022-01-15 11:59:06 -08:00
temp.defines.h Happy New Year! 2022-01-15 11:59:06 -08:00
texturec.lua Happy New Year! 2022-01-15 11:59:06 -08:00
texturev.lua Metal: Added GPU vendorId/deviceId detection. Fixed #2688. 2021-12-19 23:11:33 -08:00
tools.mk Happy New Year! 2022-01-15 11:59:06 -08:00