PackedColorArray

    A packed array of Colors.

    PackedColorArray.swift:19
    class PackedColorArray

    An array specifically designed to hold Color. Packs data tightly, so it saves memory for large array sizes.

    Differences between packed arrays, typed arrays, and untyped arrays: Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. PackedColorArray versus `ArrayColor```). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as Array/map(method:)``. Typed arrays are in turn faster to iterate on and modify than untyped arrays.

    Citizens in SwiftGodot

    Conformances

    Typealiases

    Type members

    Instance members

    Show obsolete interfaces (1)

    Hide obsolete interfaces

    Type features

    Instance features

    Show obsolete interfaces (2)

    Hide obsolete interfaces