11 auto it = _cache.find(device.get());
12 if (it != _cache.end()) {
14 auto resource = it->second;
23 auto it = _cache.find(device);
24 if (it != _cache.end()) {
26 auto resource = it->second;
void remove(const std::shared_ptr< GraphicsDevice > &_graphicsDevice)
Abstract GPU interface for resource creation, state management, and draw submission.