8package org.skia.jetski;
10import java.lang.String;
13 private long mNativeInstance;
16 mNativeInstance = nCreate(sksl);
20 nSetUniformFloat(mNativeInstance,
name, val);
24 nSetUniformFloat3(mNativeInstance,
name, valX, valY, valZ);
33 return new Shader(nMakeShader(mNativeInstance));
40 nRelease(mNativeInstance);
49 private static native
long nCreate(String sksl);
50 private static native
void nRelease(
long nativeInstance);
52 private static native
void nSetUniformFloat(
long nativeInstance, String
name,
float val);
53 private static native
void nSetUniformFloat3(
long nativeInstance, String
name,
float valX,
float valY,
float valZ);
54 private static native
void nSetUniformMatrix(
long nativeInstance, String
name,
long nativeMatrix);
55 private static native
long nMakeShader(
long nativeInstance);
RuntimeShaderBuilder setUniform(String name, Matrix mat)
RuntimeShaderBuilder setUniform(String name, float valX, float valY, float valZ)
RuntimeShaderBuilder(String sksl)
RuntimeShaderBuilder setUniform(String name, float val)
DEF_SWITCHES_START aot vmservice shared library name