Package icyllis.arc3d.granite.trash
Class SharedContext
java.lang.Object
icyllis.arc3d.granite.trash.SharedContext
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.getCaps()
Deprecated.@Nullable BackendFormat
getCompressedBackendFormat
(int compressionType) Deprecated.Retrieve theBackendFormat
for a givenCompressionType
.int
Deprecated.@Nullable BackendFormat
getDefaultBackendFormat
(int colorType, boolean renderable) Deprecated.Retrieve the defaultBackendFormat
for a givenColorType
and renderability.int
getMaxSurfaceSampleCount
(int colorType) Deprecated.Gets the maximum supported sample count for a color type.Deprecated.Deprecated.Deprecated.int
hashCode()
Deprecated.boolean
isValid()
Deprecated.boolean
Deprecated.
-
Method Details
-
getDefaultBackendFormat
Deprecated.Retrieve the defaultBackendFormat
for a givenColorType
and renderability. It is guaranteed that this backend format will be the one used by the followingColorType
andinvalid reference
SurfaceCharacterization#createBackendFormat(int, BackendFormat)
The caller should check that the returned format is valid (nullability).
- Parameters:
colorType
- seeImageDesc
renderable
- true if the format will be used as color attachments
-
getCompressedBackendFormat
Deprecated.Retrieve theBackendFormat
for a givenCompressionType
. This is guaranteed to match the backend format used by the following createCompressedBackendTexture methods that take aCompressionType
.The caller should check that the returned format is valid (nullability).
- Parameters:
compressionType
- seeImageDesc
-
getMaxSurfaceSampleCount
public int getMaxSurfaceSampleCount(int colorType) Deprecated.Gets the maximum supported sample count for a color type. 1 is returned if only non-MSAA rendering is supported for the color type. 0 is returned if rendering to this color type is not supported at all.- Parameters:
colorType
- seeImageDesc
-
isValid
public boolean isValid()Deprecated.- Returns:
- initialized or not, if
ImmediateContext
is created, it must be true
-
matches
Deprecated. -
getBackend
@Internal public int getBackend()Deprecated. -
getOptions
Deprecated. -
getContextID
@Internal public int getContextID()Deprecated. -
getCaps
Deprecated. -
getThreadSafeCache
Deprecated. -
getPipelineCache
Deprecated. -
hashCode
public int hashCode()Deprecated.
-