19 lines
351 B
Java
19 lines
351 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.mojang.blaze3d.resource;
|
|
|
|
public interface ResourceDescriptor<T> {
|
|
public T allocate();
|
|
|
|
default public void prepare(T resource) {
|
|
}
|
|
|
|
public void free(T var1);
|
|
|
|
default public boolean canUsePhysicalResource(ResourceDescriptor<?> other) {
|
|
return this.equals(other);
|
|
}
|
|
}
|
|
|