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
Modifier and TypeFieldDescriptionint
int
int
int
int
int
int
int
int
-
Constructor Summary
-
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()
boolean
int
hashCode()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:
copy
in interfaceIResourceKey
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceIResourceKey
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceIResourceKey
- Overrides:
equals
in classObject
-