 
     public func copy() -> NodeType {
         let cp = NodeType()
+        cp.id = self.id
         cp.label = self.label
         cp.depthCompareFunction = self.depthCompareFunction
         cp.depthWriteEnabled = self.depthWriteEnabled

    
    public func copy() -> NodeType {
        let cp = NodeType()
        cp.attributes = self.attributes.map { $0.copy() }
        cp.layouts = self.layouts.map { $0.copy() }
        return cp

    
    public func copyRenderPassAttachment() -> Self {
        var cp = Self()
        cp.id = self.id
        cp.texture = self.texture?.copy()
        cp.level = self.level
        cp.slice = self.slice
