initial modelbatch

This commit is contained in:
2024-09-06 06:37:19 +10:00
parent 0289992e4b
commit 57b97148a4
6 changed files with 100 additions and 47 deletions

View File

@ -4,8 +4,10 @@
#ifdef __METAL_VERSION__
# define NS_ENUM(TYPE, NAME) enum NAME : TYPE NAME; enum NAME : TYPE
# define NSInteger metal::int32_t
# define CONSTANT_PTR(TYPE) constant TYPE*
#else
# import <Foundation/Foundation.h>
# define CONSTANT_PTR(TYPE) uint64_t
#endif
#include <simd/simd.h>