Package icyllis.arc3d.engine
Interface ImageViewProxy.LazyInstantiateCallback
- All Superinterfaces:
AutoCloseable
- Enclosing class:
ImageViewProxy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ImageViewProxy.LazyInstantiateCallback
extends AutoCloseable
Lazy-callback function.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
onLazyInstantiate
(ResourceProvider provider, ImageDesc desc, boolean budgeted, String label) Specifies the expected properties of theGpuSurface
returned by a lazy instantiation callback.
-
Method Details
-
onLazyInstantiate
ImageViewProxy.LazyCallbackResult onLazyInstantiate(ResourceProvider provider, ImageDesc desc, boolean budgeted, String label) Specifies the expected properties of theGpuSurface
returned by a lazy instantiation callback. The dimensions will be negative in the case of a lazy-most surface. -
close
default void close()- Specified by:
close
in interfaceAutoCloseable
-