SwiftclassShaderGraph

class ShaderGraph.MetalShaderCompiler.Scope

Members 18

  1. deinitdeinit
  2. fieldvar childScopes: [ShaderGraph.MetalShaderCompiler.Scope]+0x28
  3. fieldvar definedTypes: [String : ShaderGraph.MetalDataType]+0x30
  4. fieldweak var enclosingScope: ShaderGraph.MetalShaderCompiler.Scope?+0x20
  5. fieldvar globalDeclarations: [String]+0x40
  6. fieldvar includePaths: [String]+0x38
  7. fieldvar lastResultVariableIndex: Int+0x18
  8. fieldvar metalSourceSegments: [String]+0x50
  9. fieldvar nodesToResultVariableNameMap: [ShaderGraph.FunctionNodeID : String]+0x10
  10. fieldvar topGlobalDeclarations: [String]+0x48
  11. funcaddStructTypeDefinition(_: ShaderGraph.MetalDataType, name: String) -> ()
  12. funcallScopes() -> [ShaderGraph.MetalShaderCompiler.Scope]
  13. funccreateChildScope() -> ShaderGraph.MetalShaderCompiler.Scope
  14. funccreateResultVariableName(for: ShaderGraph.MetalFunctionNode) -> String
  15. funcresultVariableName(for: ShaderGraph.MetalFunctionNode) -> String?
  16. funcstructTypeDefinition(named: String) -> ShaderGraph.MetalDataType?
  17. initShaderGraph.MetalShaderCompiler.Scope.__allocating_init(enclosingScope: ShaderGraph.MetalShaderCompiler.Scope?) -> ShaderGraph.MetalShaderCompiler.Scope
  18. varvar global: ShaderGraph.MetalShaderCompiler.Scope { get }
class ShaderGraph.MetalShaderCompiler.Scope {
    var nodesToResultVariableNameMap: [ShaderGraph.FunctionNodeID : Swift.String]
    var lastResultVariableIndex: Swift.Int
    weak var enclosingScope: ShaderGraph.MetalShaderCompiler.Scope?
    var childScopes: [ShaderGraph.MetalShaderCompiler.Scope]
    var definedTypes: [Swift.String : ShaderGraph.MetalDataType]
    var includePaths: [Swift.String]
    var globalDeclarations: [Swift.String]
    var topGlobalDeclarations: [Swift.String]
    var metalSourceSegments: [Swift.String]

    var global: ShaderGraph.MetalShaderCompiler.Scope {
        get
    }
    init(enclosingScope: ShaderGraph.MetalShaderCompiler.Scope?)
    func allScopes() -> [ShaderGraph.MetalShaderCompiler.Scope]
    func resultVariableName(for: any ShaderGraph.MetalFunctionNode) -> Swift.String?
    func createResultVariableName(for: any ShaderGraph.MetalFunctionNode) -> Swift.String
    func createChildScope() -> ShaderGraph.MetalShaderCompiler.Scope
    func addStructTypeDefinition(_: ShaderGraph.MetalDataType, name: Swift.String)
    func structTypeDefinition(named: Swift.String) -> ShaderGraph.MetalDataType?

    deinit
}