Package icyllis.arc3d.engine
Class ImageProxyView
java.lang.Object
icyllis.arc3d.engine.ImageProxyView
- All Implemented Interfaces:
AutoCloseable
Surface views contain additional metadata for pipeline operations on surfaces.
This class is a tuple of
SurfaceProxy
, SurfaceOrigin and Swizzle.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Destructs this view.void
concat
(short swizzle) Concat swizzle.This does not reset the origin or swizzle, so the view can still be used to access those properties associated with the detached proxy.int
int
getProxy()
Returns smart pointer value (raw ptr).short
int
getWidth()
boolean
refProxy()
Returns a smart pointer (as if on the stack).void
reset()
Recycle this view.
-
Constructor Details
-
ImageProxyView
-
ImageProxyView
-
-
Method Details
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
isMipmapped
public boolean isMipmapped() -
getProxy
Returns smart pointer value (raw ptr). -
refProxy
Returns a smart pointer (as if on the stack). -
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 interfaceAutoCloseable
-