Package icyllis.arc3d.sketch.shaders
Class GradientShader
java.lang.Object
icyllis.arc3d.sketch.shaders.GradientShader
- All Implemented Interfaces:
RefCounted,Shader
- Direct Known Subclasses:
Gradient1DShader,Gradient2DShader
public abstract sealed class GradientShader
extends Object
implements Shader
permits Gradient1DShader, Gradient2DShader
Base class for shaders that generate gradient colors.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classColor interpolation method, is packed into an int. -
Field Summary
FieldsFields inherited from interface icyllis.arc3d.sketch.shaders.Shader
LOCAL_MATRIX_AFTER, LOCAL_MATRIX_BEFORE, LOCAL_MATRIX_REPLACE, TILE_MODE_CLAMP, TILE_MODE_DECAL, TILE_MODE_MIRROR, TILE_MODE_REPEAT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface icyllis.arc3d.sketch.shaders.Shader
isOpaque, isTriviallyCounted, makeWithLocalMatrix, ref, unref
-
Field Details
-
kDegenerateTolerance
public static final float kDegenerateTolerance- See Also:
-
-
Constructor Details
-
GradientShader
public GradientShader()
-