summaryrefslogtreecommitdiff
path: root/scene/resources/gradient.h
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2022-11-25 20:27:36 +0100
committerRaul Santos <raulsntos@gmail.com>2022-11-27 03:04:34 +0100
commit3ff181096ac247c1613b1a535726949af3b01b46 (patch)
treebb3cd623a0602a61bf1cfcb6da48e58540770ac1 /scene/resources/gradient.h
parentc7ceb94e372216b1b033d7c2ac26d5b7545c4dac (diff)
C#: Remove VariantSpanDisposer and use constants in stackalloc
- Remove `VariantSpanDisposer`, no need to dispose of the Variant Spans since we are now borrowing the Variants instead of copying them. - Remove `VariantSpanExtensions.Cleared` that was only used so the Span was initialized for `VariantSpanDisposer` to know what to dispose. - Fix stackalloc Spans to use constant VarArgsSpanThreshold and avoid bound checks.
Diffstat (limited to 'scene/resources/gradient.h')
0 files changed, 0 insertions, 0 deletions