mirror of
https://github.com/nicbarker/clay.git
synced 2025-09-18 04:26:18 +00:00
[Bindings/Odin] Update Odin Bindings to latest
This commit is contained in:
parent
8bbe14fbcc
commit
b25a31c1a1
|
@ -839,7 +839,6 @@ Clay_TextElementConfig {
|
|||
CLAY_TEXT_WRAP_NEWLINES,
|
||||
CLAY_TEXT_WRAP_NONE,
|
||||
};
|
||||
bool hashStringContents
|
||||
};
|
||||
```
|
||||
|
||||
|
@ -899,14 +898,6 @@ Available options are:
|
|||
|
||||
---
|
||||
|
||||
**`.hashStringContents`**
|
||||
|
||||
`CLAY_TEXT_CONFIG(.hashStringContents = true)`
|
||||
|
||||
By default, clay will cache the dimensions of text measured by [the provided MeasureText function](#clay_setmeasuretextfunction) based on the string's pointer and length. Setting `.hashStringContents = true` will cause Clay to hash the entire string contents. Used to fix incorrect measurements caused by re-use of string memory, disabled by default as it will incur significant performance overhead for very large bodies of text.
|
||||
|
||||
---
|
||||
|
||||
**Examples**
|
||||
|
||||
```C
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue