Skip to main content

MTLCompute

The MTLCompute class is a Metal-specific implementation of the Compute class, providing access to the command encoder.

#include <platform/TellusimCompute.h>

Inheritance​

Constructors​

MTLCompute()

Methods​

Command context.

void *getEncoder() const

End encoding.

void flush(void *encoder, bool enqueue = false)
void flush(bool create = false, bool enqueue = false)

Update resources.

void update()