add java API for Texture::Builder::import()
deprecate Stream::stream(intptr_t). This method was needed for ARCore back in the days, but there is now a zero-copy way to achieve the same thing. This API shouldn't be used anymore.
This commit is contained in:
committed by
Mathias Agopian
parent
afbd6e6606
commit
c1347e55cb
@@ -102,7 +102,9 @@ extern "C" JNIEXPORT void JNICALL
|
||||
Java_com_google_android_filament_Stream_nBuilderStream(JNIEnv*, jclass,
|
||||
jlong nativeStreamBuilder, jlong externalTextureId) {
|
||||
StreamBuilder* builder = (StreamBuilder*) nativeStreamBuilder;
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
builder->builder()->stream(externalTextureId);
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT void JNICALL
|
||||
|
||||
Reference in New Issue
Block a user