OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::AndroidJniProvider Class Referenceabstract

#include <OgreVulkanAndroidWindow.h>

Public Member Functions

virtual void acquire (JNIEnv **env, jobject *activity)=0
 User must override this function. More...
 
virtual void release (JNIEnv *env)=0
 Notifies the implementation that we're done using the env object. More...
 

Member Function Documentation

◆ acquire()

virtual void Ogre::AndroidJniProvider::acquire ( JNIEnv **  env,
jobject activity 
)
pure virtual

User must override this function.

Parameters
env[out] The JNI class that is assumed to be from AttachCurrentThread().
activity[out] NativeActivity object handle, used for JNI.

◆ release()

virtual void Ogre::AndroidJniProvider::release ( JNIEnv env)
pure virtual

Notifies the implementation that we're done using the env object.

In case the implementation wants to call DetachCurrentThread().

Parameters
envThe JNI class that was retrieved via acquire().

The documentation for this class was generated from the following file: