setRegistryId

open fun setRegistryId(registryId: Any): Texture.Builder

Allows a Texture to be reused. If registryId is non-null it will be saved in a registry and the registry will be checked for this id before construction.

Return

Builder for chaining setup calls.

Parameters

registryId

Allows the function to be skipped and a previous texture to be re-used.