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 TypeMethodDescription@NonNull GpuRenderTarget.ResourceKeycompute(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()
-
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
public @NonNull 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
-