SwiftstructShaderGraph

struct ShaderGraph.GeomPropDef

Members 6

  1. fieldlet geomprop: ShaderGraph.GeomPropDef.GeomProp+0x28
  2. fieldlet index: Int?+0x40
  3. fieldlet name: String+0x0
  4. fieldlet space: ShaderGraph.GeomPropDef.Space?+0x39
  5. fieldlet type: ShaderGraph.MaterialXDataType+0x10
  6. initinit(name: String, type: ShaderGraph.MaterialXDataType, geomprop: ShaderGraph.GeomPropDef.GeomProp, space: ShaderGraph.GeomPropDef.Space?, index: Int?) -> ShaderGraph.GeomPropDef
struct GeomPropDef {
    enum Space {
        case model
        case object
        case world

        var nodeDefinitionSpace: ShaderGraph.NodeDefinitionStore.Space {
            get
        }
    }
    enum GeomProp {
        case builtin(ShaderGraph.GeomPropDef.BuiltinGeomProp)
        case unknown(Swift.String)

        var nodeDefinitionGeomProp: ShaderGraph.NodeDefinitionStore.GeomPropValue {
            get
        }

        func paramGetterNodeDefName(type: ShaderGraph.MaterialXDataType) throws -> Swift.String
    }
    enum BuiltinGeomProp {
        case position
        case normal
        case tangent
        case bitangent
        case texcoord
        case geomcolor

        var nodeDefinitionBuiltinGeomProp: ShaderGraph.NodeDefinitionStore.BuiltinGeomProp {
            get
        }

        func paramGetterNodeDefName(type: ShaderGraph.MaterialXDataType) throws -> Swift.String
    }
    let name: Swift.String
    let type: ShaderGraph.MaterialXDataType
    let geomprop: ShaderGraph.GeomPropDef.GeomProp
    let space: ShaderGraph.GeomPropDef.Space?
    let index: Swift.Int?

    init(name: Swift.String, type: ShaderGraph.MaterialXDataType, geomprop: ShaderGraph.GeomPropDef.GeomProp, space: ShaderGraph.GeomPropDef.Space?, index: Swift.Int?)
}