mirror of
https://github.com/nicbarker/clay.git
synced 2026-02-06 12:48:49 +00:00
C++20 Support (#31)
This commit is contained in:
parent
21d9f06a47
commit
948b7ce70b
9 changed files with 371 additions and 246 deletions
|
|
@ -394,13 +394,15 @@ The supported directives are:
|
|||
- `CLAY_EXTEND_CONFIG_IMAGE` - Provide additional struct members to `CLAY_IMAGE_CONFIG` that will be passed through with output render commands.
|
||||
- `CLAY_EXTEND_CONFIG_CUSTOM` - Provide additional struct members to `CLAY_IMAGE_CONFIG` that will be passed through with output render commands.
|
||||
|
||||
### Bindings
|
||||
### Bindings for non C
|
||||
|
||||
Clay is usable out of the box as a `.h` include in both C99 and C++ with designated initializer support.
|
||||
Clay is usable out of the box as a `.h` include in both C99 and C++20 with designated initializer support.
|
||||
There are also supported bindings for other languages, including:
|
||||
|
||||
- [Odin Bindings](https://github.com/nicbarker/clay/tree/main/bindings/odin)
|
||||
|
||||
Unfortunately clay does **not** support Microsoft C11 or C17 via MSVC at this time.
|
||||
|
||||
### Debug Tools
|
||||
|
||||
Clay includes built-in UI debugging tools, similar to the "inspector" in browsers such as Chrome or Firefox. These tools are included in `clay.h`, and work by injecting additional render commands into the output [Clay_RenderCommandArray](#clay_rendercommandarray).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue