Class CarbonShaderGraphUtilityAbstract

The CarbonShaderGraphUtility class provides helper functions for the Carbon Shader graph system.

Constructors

Methods

  • Returns the number of components for the graph vector type.

    Parameters

    Returns
        | 1
        | 2
        | 3
        | 4

  • Returns the number of components for the graph vector type.

    Parameters

    Returns
        | Function
        | (new (...args: any[]) => GraphNumberF32)
        | (new (...args: any[]) => GraphNumberI32)
        | (new (...args: any[]) => GraphNumberUI32)

  • Returns the number of components for the graph vector type.

    Parameters

    • type: Type
    • componentCount: 2 | 3 | 4

    Returns Type

  • Determines if the type is a vector or a scalar graph type.

    Parameters

    Returns boolean

  • Determines if the type is a vector or a scalar graph type.

    Parameters

    Returns boolean