FilterAssertionCache

This class is used to assert that the filter used for a texture (which is stored in global state) is never changed.

Constructors

Link copied to clipboard
public void FilterAssertionCache()

Types

Link copied to clipboard

Functions

Link copied to clipboard
public static void assertTextureFilter(MyResourceLocation resourceLocation, TextureFilter filter)
Assert that a texture uses a certain global filter state.
Link copied to clipboard
public static void destroyGlobalFilter(MyResourceLocation resourceLocation)
Delete the global filter state for a texture.