Added Android function pointers for indirect draws, lowered object count on Android

This commit is contained in:
saschawillems 2016-08-01 22:01:36 +02:00
parent 444c4b9c24
commit 9c1e254b6a
3 changed files with 12 additions and 0 deletions

View file

@ -41,9 +41,15 @@
#define ENABLE_VALIDATION false
// Number of instances per object
#if defined(__ANDROID__)
#define OBJECT_INSTANCE_COUNT 1024
// Circular range of plant distribution
#define PLANT_RADIUS 20.0f
#else
#define OBJECT_INSTANCE_COUNT 2048
// Circular range of plant distribution
#define PLANT_RADIUS 25.0f
#endif
// Vertex layout for this example
std::vector<vkMeshLoader::VertexLayout> vertexLayout =