Added Android function pointers for indirect draws, lowered object count on Android
This commit is contained in:
parent
444c4b9c24
commit
9c1e254b6a
3 changed files with 12 additions and 0 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue