/* * Decompiled with CFR 0.152. */ package com.mojang.blaze3d.resource; import com.mojang.blaze3d.resource.ResourceDescriptor; public interface GraphicsResourceAllocator { public static final GraphicsResourceAllocator UNPOOLED = new GraphicsResourceAllocator(){ @Override public T acquire(ResourceDescriptor descriptor) { T resource = descriptor.allocate(); descriptor.prepare(resource); return resource; } @Override public void release(ResourceDescriptor descriptor, T resource) { descriptor.free(resource); } }; public T acquire(ResourceDescriptor var1); public void release(ResourceDescriptor var1, T var2); }