resource(at:allocateMemory:)

Declaration

func resource(at index: Int, allocateMemory: Bool) -> (any MTLResource)?