SwiftstructShaderGraph

struct ShaderGraph.SGInternalError

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 3

  1. fieldlet details: String?+0x60
  2. fieldlet type: ShaderGraph.SGInternalError.ErrorType+0x0
  3. initinit(_: ShaderGraph.SGInternalError.ErrorType, details: String?) -> ShaderGraph.SGInternalError
struct SGInternalError {
    enum ErrorType {
        case userGraphError(Swift.String)
        case metalFunctionGraphError(ShaderGraph.MetalFunctionGraphError)
        case cannotPerformCast(fromTypeName: Swift.String, destTypeName: Swift.String)
        case incorrectArrayLength(expectedLength: Swift.UInt64, actualLength: Swift.UInt64)
        case other
        case missingBuiltInDefinition
        case unknownArchiveNodeData
        case cannotParseVector
        case unableToConstructStringFromArchiveData
        case functionStitchingFailure
        case nodeNotContainedInGraph

        var errorDescription: Swift.String {
            get
        }
    }
    let type: ShaderGraph.SGInternalError.ErrorType
    let details: Swift.String?

    init(_: ShaderGraph.SGInternalError.ErrorType, details: Swift.String?)
}