curve

    The Curve that is rendered onto the texture.

    CurveTexture.swift:60
    final var curve: Curve? { get set }

    Other members in extension

    Types

    Type members

    Instance members

    • var textureMode: CurveTexture.TextureMode

      The format the texture should be generated with. When passing a CurveTexture as an input to a Shader, this may need to be adjusted.

    • var width: Int32

      The width of the texture (in pixels). Higher values make it possible to represent high-frequency data better (such as sudden direction changes), at the cost of increased generation time and memory usage.