40 MTLBackend::platform_exit();
87 static void platform_exit();
89 static void capabilities_init(
MTLContext *ctx);
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
static GPUBackend * get()
UniformBuf * uniformbuf_alloc(int size, const char *name) override
void render_step() override
void render_begin() override
QueryPool * querypool_alloc() override
void compute_dispatch_indirect(StorageBuf *indirect_buf) override
bool is_inside_render_boundary()
Context * context_alloc(void *ghost_window) override
FrameBuffer * framebuffer_alloc(const char *name) override
StorageBuf * storagebuf_alloc(int size, GPUUsageType usage, const char *name) override
static bool metal_is_supported()
IndexBuf * indexbuf_alloc() override
void render_end() override
void samplers_update() override
static MTLCapabilities & get_capabilities()
Batch * batch_alloc() override
void compute_dispatch(int groups_x_len, int groups_y_len, int groups_z_len) override
static MTLCapabilities capabilities
static MTLBackend * get()
VertBuf * vertbuf_alloc() override
Texture * texture_alloc(const char *name) override
DrawList * drawlist_alloc(int list_length) override
Shader * shader_alloc(const char *name) override