import vulkan 
     , graphics_pipeline

import std/tables 

import ../utils/etc
type 
 Pipeline_Record_Obj = object of RootObj
  pipelines*: Table[string, Graphics_Pipeline]  
 
 Pipeline_Record* = ref object of Pipeline_Record_Obj


proc add*( pipeline_record: var Pipeline_Record
         , graphics_pipeline: Graphics_Pipeline
         ) = 
 #echo string_of graphics_pipeline

 pipeline_record.pipelines[string_of graphics_pipeline] = graphics_pipeline