1 2 3 4 5
#ifdef __METAL_MACOS__ # define GFX_RENDER_TARGET_ARRAY_INDEX [[render_target_array_index]] #else # define GFX_RENDER_TARGET_ARRAY_INDEX #endif