Package icyllis.arc3d.granite.trash
Class SharedContext
java.lang.Object
icyllis.arc3d.granite.trash.SharedContext
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.getCaps()Deprecated.@Nullable BackendFormatgetCompressedBackendFormat(int compressionType) Deprecated.Retrieve theBackendFormatfor a givenCompressionType.intDeprecated.@Nullable BackendFormatgetDefaultBackendFormat(int colorType, boolean renderable) Deprecated.Retrieve the defaultBackendFormatfor a givenColorTypeand renderability.intgetMaxSurfaceSampleCount(int colorType) Deprecated.Gets the maximum supported sample count for a color type.Deprecated.Deprecated.Deprecated.inthashCode()Deprecated.booleanisValid()Deprecated.booleanDeprecated.
-
Method Details
-
getDefaultBackendFormat
Deprecated.Retrieve the defaultBackendFormatfor a givenColorTypeand renderability. It is guaranteed that this backend format will be the one used by the followingColorTypeand.invalid reference
SurfaceCharacterization#createBackendFormat(int, BackendFormat)The caller should check that the returned format is valid (nullability).
- Parameters:
colorType- seeImageDescrenderable- true if the format will be used as color attachments
-
getCompressedBackendFormat
Deprecated.Retrieve theBackendFormatfor 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
ImmediateContextis 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.
-