SwiftstructComputeGraph

struct ComputeGraph.ParameterRelocation

Structure

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

inherits{}

Members 6

  1. fieldlet location: ComputeGraph.ParameterRelocation.Location+0x0
  2. initinit(converting: ComputeGraph.ComputeNodeGraph.Assembly.Location) -> ComputeGraph.ParameterRelocation
  3. initinit(uniformRange: Range<Int>) -> ComputeGraph.ParameterRelocation
  4. initinit(uniformOffset: Int, length: Int) -> ComputeGraph.ParameterRelocation
  5. initinit(location: ComputeGraph.ParameterRelocation.Location) -> ComputeGraph.ParameterRelocation
  6. varvar resources: [ComputeGraph.ResourceRelocation]? { get set }
struct ParameterRelocation {
    enum Location {
        case builtIn(index: Swift.Int)
        case uniform(offset: Swift.Int, length: Swift.Int)
        case texture(index: Swift.Int)
        case buffer(index: Swift.Int, sizeOffset: Swift.Int)
        case elementState(offset: Swift.Int)
        case emitterState(offset: Swift.Int, length: Swift.Int)
        case node(identifier: Swift.Int)
        case outputAttribute(outputIndex: Swift.Int, offset: Swift.Int, length: Swift.Int)
        case groupState(offset: Swift.Int, length: Swift.Int)
        case threadgroupMemory(offset: Swift.Int, length: Swift.Int)
        case threadMemory(offset: Swift.Int, length: Swift.Int)
        case deviceBuffer(index: Swift.Int, offset: Swift.Int)
        case constantBuffer(index: Swift.Int, offset: Swift.Int)
        case constant(value: Swift.Int64)
        case state(scopeIndex: Swift.Int, offset: Swift.Int, length: Swift.Int)
        case unbound
    }
    let location: ComputeGraph.ParameterRelocation.Location

    init(converting: ComputeGraph.ComputeNodeGraph.Assembly.Location)
    init(uniformRange: Swift.Range<Swift.Int>)
    init(uniformOffset: Swift.Int, length: Swift.Int)
    init(location: ComputeGraph.ParameterRelocation.Location)

    var resources: [ComputeGraph.ResourceRelocation]? {
        get
        set
    }
}