SwiftenumShaderGraph

enum ShaderGraph._Proto_ShaderGraphValue

Structure

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

inherits{}

Members 32

  1. casecase bool(Bool)
  2. casecase cgColor3(CGColorRef)
  3. casecase cgColor4(CGColorRef)
  4. casecase filename(String)
  5. casecase float(Float)
  6. casecase float2(SIMD2<Float>)
  7. casecase float2x2(SIMD2<Float>, SIMD2<Float>)
  8. casecase float3(SIMD3<Float>)
  9. casecase float3x3(SIMD3<Float>, SIMD3<Float>, SIMD3<Float>)
  10. casecase float4(SIMD4<Float>)
  11. casecase float4x4(SIMD4<Float>, SIMD4<Float>, SIMD4<Float>, SIMD4<Float>)
  12. casecase half(UInt16)
  13. casecase half2(SIMD2<UInt16>)
  14. casecase half2x2(SIMD2<UInt16>, SIMD2<UInt16>)
  15. casecase half3(SIMD3<UInt16>)
  16. casecase half3x3(SIMD3<UInt16>, SIMD3<UInt16>, SIMD3<UInt16>)
  17. casecase half4(SIMD4<UInt16>)
  18. casecase half4x4(SIMD4<UInt16>, SIMD4<UInt16>, SIMD4<UInt16>, SIMD4<UInt16>)
  19. casecase int(Int32)
  20. casecase int2(SIMD2<Int32>)
  21. casecase int3(SIMD3<Int32>)
  22. casecase int4(SIMD4<Int32>)
  23. casecase string(String)
  24. casecase uchar(UInt8)
  25. casecase uint(UInt32)
  26. initinit(value: String, type: ShaderGraph._Proto_ShaderDataType) throws -> ShaderGraph._Proto_ShaderGraphValue
  27. initinit(sgType: SGDataType, sgStorage: ShaderGraph.SGDataTypeStorage) -> ShaderGraph._Proto_ShaderGraphValue
  28. varvar output: ShaderGraph._Proto_ShaderGraphNodeDefinition.Output { get }
  29. varvar sgDataType: SGDataType { get }
  30. varvar sgDataTypeStorage: ShaderGraph.SGDataTypeStorage { get }
  31. varvar shaderDataType: ShaderGraph._Proto_ShaderDataType { get }
  32. varvar type: ShaderGraph._Proto_ShaderDataType { get }
enum _Proto_ShaderGraphValue {
    case bool(Swift.Bool)
    case uchar(Swift.UInt8)
    case int(Swift.Int32)
    case uint(Swift.UInt32)
    case half(Swift.UInt16)
    case float(Swift.Float)
    case string(Swift.String)
    case float2(Swift.SIMD2<Swift.Float>)
    case float3(Swift.SIMD3<Swift.Float>)
    case float4(Swift.SIMD4<Swift.Float>)
    case half2(Swift.SIMD2<Swift.UInt16>)
    case half3(Swift.SIMD3<Swift.UInt16>)
    case half4(Swift.SIMD4<Swift.UInt16>)
    case int2(Swift.SIMD2<Swift.Int32>)
    case int3(Swift.SIMD3<Swift.Int32>)
    case int4(Swift.SIMD4<Swift.Int32>)
    case float2x2(Swift.SIMD2<Swift.Float>, Swift.SIMD2<Swift.Float>)
    case float3x3(Swift.SIMD3<Swift.Float>, Swift.SIMD3<Swift.Float>, Swift.SIMD3<Swift.Float>)
    case float4x4(Swift.SIMD4<Swift.Float>, Swift.SIMD4<Swift.Float>, Swift.SIMD4<Swift.Float>, Swift.SIMD4<Swift.Float>)
    case half2x2(Swift.SIMD2<Swift.UInt16>, Swift.SIMD2<Swift.UInt16>)
    case half3x3(Swift.SIMD3<Swift.UInt16>, Swift.SIMD3<Swift.UInt16>, Swift.SIMD3<Swift.UInt16>)
    case half4x4(Swift.SIMD4<Swift.UInt16>, Swift.SIMD4<Swift.UInt16>, Swift.SIMD4<Swift.UInt16>, Swift.SIMD4<Swift.UInt16>)
    case cgColor3(__C.CGColorRef)
    case cgColor4(__C.CGColorRef)
    case filename(Swift.String)

    init(value: Swift.String, type: ShaderGraph._Proto_ShaderDataType) throws
    init(sgType: __C.SGDataType, sgStorage: ShaderGraph.SGDataTypeStorage)

    var output: ShaderGraph._Proto_ShaderGraphNodeDefinition.Output {
        get
    }
    var sgDataType: __C.SGDataType {
        get
    }
    var sgDataTypeStorage: ShaderGraph.SGDataTypeStorage {
        get
    }
    var shaderDataType: ShaderGraph._Proto_ShaderDataType {
        get
    }
    var type: ShaderGraph._Proto_ShaderDataType {
        get
    }
}