ResourceManager = ref ResourceManagerObj
proc newResourceManager(window: WindowPtr; display: RendererPtr): ResourceManager {. raises: [], tags: [].}
proc destroy(rm: ResourceManager) {.raises: [], tags: [].}