protected GraphicsResource(uint handle, Action <uint> bindFunction, Action <uint> deleteFunction) { ContextManager.EnsureDefaultContext(); Handle = handle; BindFunction = bindFunction; DeleteFunction = deleteFunction; }
static ResourceLoader() { ContextManager.EnsureDefaultContext(); }