Skip to main content

MTLCommand

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

#include <platform/TellusimCommand.h>

Inheritance​

Constructors​

MTLCommand()

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()