Diligent Engine API Reference
External
Android
ndk_helper
include
NDKHelper.h
1
/*
2
* Copyright 2013 The Android Open Source Project
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef _NDKSUPPORT_H
18
#define _NDKSUPPORT_H
19
20
#define NDK_HELPER_VERSION "0.90"
21
22
/******************************************************************
23
* NDK support helpers
24
* Utility module to provide misc functionalities that is used widely in native
25
* applications,
26
* such as gesture detection, jni bridge, openGL context etc.
27
*
28
* The purpose of this module is,
29
* - Provide best practices using NDK
30
* - Provide handy utility functions for NDK development
31
* - Make NDK samples more simpler and readable
32
*/
33
#include "gl3stub.h"
// GLES3 stubs
34
#include "GLContext.h"
// EGL & OpenGL manager
35
#include "shader.h"
// Shader compiler support
36
#include "vecmath.h"
// Vector math support, C++ implementation n current version
37
#include "tapCamera.h"
// Tap/Pinch camera control
38
#include "JNIHelper.h"
// JNI support
39
#include "gestureDetector.h"
// Tap/Doubletap/Pinch detector
40
#include "perfMonitor.h"
// FPS counter
41
#include "sensorManager.h"
// SensorManager
42
#include "interpolator.h"
// Interpolator
43
#endif