Package icyllis.arc3d.engine
Class GpuRenderTarget.ResourceKey
java.lang.Object
icyllis.arc3d.engine.GpuRenderTarget.ResourceKey
- All Implemented Interfaces:
IResourceKey
- Enclosing class:
GpuRenderTarget
Scratch key of
GpuRenderTarget.-
Field Summary
FieldsModifier and TypeFieldDescriptionintintintintintintintintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompute(int width, int height, BackendFormat colorFormat, int colorSurfaceFlags, BackendFormat resolveFormat, int resolveSurfaceFlags, BackendFormat depthStencilFormat, int depthStencilSurfaceFlags, int sampleCount, int surfaceFlags) Update this key with the given arguments.copy()booleaninthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface icyllis.arc3d.engine.IResourceKey
isShareable
-
Field Details
-
mWidth
public int mWidth -
mHeight
public int mHeight -
mColorFormat
public int mColorFormat -
mResolveFormat
public int mResolveFormat -
mDepthStencilFormat
public int mDepthStencilFormat -
mColorFlags
public int mColorFlags -
mResolveFlags
public int mResolveFlags -
mDepthStencilFlags
public int mDepthStencilFlags -
mSurfaceFlags
public int mSurfaceFlags
-
-
Constructor Details
-
ResourceKey
public ResourceKey()
-
-
Method Details
-
compute
@Nonnull public GpuRenderTarget.ResourceKey compute(int width, int height, BackendFormat colorFormat, int colorSurfaceFlags, BackendFormat resolveFormat, int resolveSurfaceFlags, BackendFormat depthStencilFormat, int depthStencilSurfaceFlags, int sampleCount, int surfaceFlags) Update this key with the given arguments.- Returns:
- this
-
copy
- Specified by:
copyin interfaceIResourceKey
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceIResourceKey- Overrides:
hashCodein classObject
-
equals
- Specified by:
equalsin interfaceIResourceKey- Overrides:
equalsin classObject
-