Class ImageProxyView

java.lang.Object
icyllis.arc3d.engine.ImageProxyView
All Implemented Interfaces:
AutoCloseable

public class ImageProxyView extends Object implements AutoCloseable
Surface views contain additional metadata for pipeline operations on surfaces. This class is a tuple of SurfaceProxy, SurfaceOrigin and Swizzle.
  • Constructor Details

  • Method Details

    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • isMipmapped

      public boolean isMipmapped()
    • getProxy

      @RawPtr public @RawPtr ImageViewProxy getProxy()
      Returns smart pointer value (raw ptr).
    • refProxy

      Returns a smart pointer (as if on the stack).
    • detachProxy

      @SharedPtr public @SharedPtr ImageViewProxy detachProxy()
      This does not reset the origin or swizzle, so the view can still be used to access those properties associated with the detached proxy.
    • getOrigin

      public int getOrigin()
      See Also:
    • getSwizzle

      public short getSwizzle()
      See Also:
    • concat

      public void concat(short swizzle)
      Concat swizzle.
    • reset

      public void reset()
      Recycle this view.
    • close

      public void close()
      Destructs this view.
      Specified by:
      close in interface AutoCloseable