Add View::setShadowType JNI binding (#3094)

This commit is contained in:
Ben Doherty
2020-09-30 13:20:39 -06:00
committed by GitHub
parent 4af0cdfd4d
commit 229fdc9be5
2 changed files with 35 additions and 0 deletions

View File

@@ -130,6 +130,12 @@ Java_com_google_android_filament_View_nSetDynamicResolutionOptions(JNIEnv*, jcla
view->setDynamicResolutionOptions(options);
}
extern "C" JNIEXPORT void JNICALL
Java_com_google_android_filament_View_nSetShadowType(JNIEnv*, jclass, jlong nativeView, jint type) {
View* view = (View*) nativeView;
view->setShadowType((View::ShadowType) type);
}
extern "C"
JNIEXPORT void JNICALL
Java_com_google_android_filament_View_nSetRenderQuality(JNIEnv*, jclass,