Mode

    Shader.swift:22
    enum Mode

    Cases

    • case spatial

      Mode used to draw all 3D objects.

    • case canvasItem

      Mode used to draw all 2D objects.

    • case particles

      Mode used to calculate particle information on a per-particle basis. Not used for drawing.

    • case sky

      Mode used for drawing skies. Only works with shaders attached to Sky objects.

    • case fog

      Mode used for setting the color and density of volumetric fog effect.

    Other members in extension

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features