public ResourceAllocator(IOpenGlResourceFactory resourceFactory) { _resourceFactory = resourceFactory; }