Package org.robolectric.shadows
Class ShadowNativeRuntimeShader
java.lang.Object
org.robolectric.shadows.ShadowNativeRuntimeShader
@Implements(value=android.graphics.RuntimeShader.class,
minSdk=26,
shadowPicker=Picker.class)
public class ShadowNativeRuntimeShader
extends Object
Shadow for
RuntimeShader
that is backed by native code-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
__constructor__
(String sksl) protected static long
nativeCreateBuilder
(String sksl) protected static long
nativeCreateShader
(long shaderBuilder, long matrix, boolean isOpaque) protected static long
protected static void
nativeUpdateShader
(long shaderBuilder, String shaderName, long shader) protected static void
nativeUpdateUniforms
(long shaderBuilder, String uniformName, float[] uniforms)
-
Constructor Details
-
ShadowNativeRuntimeShader
public ShadowNativeRuntimeShader()
-
-
Method Details
-
__constructor__
-
nativeGetFinalizer
-
nativeCreateBuilder
-
nativeCreateShader
@Implementation(minSdk=31, maxSdk=32) protected static long nativeCreateShader(long shaderBuilder, long matrix, boolean isOpaque) -
nativeUpdateUniforms
@Implementation(minSdk=31, maxSdk=32) protected static void nativeUpdateUniforms(long shaderBuilder, String uniformName, float[] uniforms) -
nativeUpdateShader
@Implementation(minSdk=31) protected static void nativeUpdateShader(long shaderBuilder, String shaderName, long shader)
-