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