Package org.robolectric.nativeruntime
Class RuntimeShaderNatives
java.lang.Object
org.robolectric.nativeruntime.RuntimeShaderNatives
public class RuntimeShaderNatives extends Object
Native methods for RuntimeShader JNI registration.
Native method signatures are derived from https://cs.android.com/android/platform/superproject/+/android-12.0.0_r1:frameworks/base/graphics/java/android/graphics/RuntimeShader.java
-
Method Summary
Modifier and Type Method Description static long
nativeCreateBuilder(String sksl)
static long
nativeCreateShader(long shaderBuilder, long matrix, boolean isOpaque)
static long
nativeGetFinalizer()
static void
nativeUpdateShader(long shaderBuilder, String shaderName, long shader)
static void
nativeUpdateUniforms(long shaderBuilder, String uniformName, float[] uniforms)
-
Method Details
-
nativeGetFinalizer
public static long nativeGetFinalizer() -
nativeCreateBuilder
-
nativeCreateShader
public static long nativeCreateShader(long shaderBuilder, long matrix, boolean isOpaque) -
nativeUpdateUniforms
-
nativeUpdateShader
-