SwiftclassShaderGraph

class ShaderGraph.SGInput

Structure

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

inherits{}

Members 12

  1. funcstatic create(name: String?, type: SGDataType) -> Self?
  2. deinitdeinit
  3. fieldvar attachment: ShaderGraph.IOAttachment
  4. fieldweak var edge: ShaderGraph.SGEdge?
  5. fieldlet name: String
  6. fieldweak var node: ShaderGraph.SGNode?
  7. fieldvar type: SGDataType
  8. funcisEqual(Any?) -> Bool
  9. funclegacyInput() -> ShaderGraph.InputSpec
  10. initShaderGraph.SGInput.__allocating_init(name: String, type: SGDataType, attachment: ShaderGraph.IOAttachment) -> ShaderGraph.SGInput
  11. initShaderGraph.SGInput.__allocating_init() -> ShaderGraph.SGInput
  12. var@objc var description: String { get }
@objc(SGInput)
class SGInput: __C.NSObject {
    enum CodingKeys {
        case type
        case name
        case attachment
    }
    final var type: __C.SGDataType
    let name: Swift.String
    final var attachment: ShaderGraph.IOAttachment
    final weak var edge: ShaderGraph.SGEdge?
    final weak var node: ShaderGraph.SGNode?

    init(name: Swift.String, type: __C.SGDataType, attachment: ShaderGraph.IOAttachment)

    init()

    @objc override var description: Swift.String {
        get
    }

    final func legacyInput() -> ShaderGraph.InputSpec
    @objc override func isEqual(_: Any?) -> Swift.Bool

    static func create(name: Swift.String?, type: __C.SGDataType) -> Self?

    deinit
}