Functionsยง
- Makes a
DirectContext
which uses Metal as the backend. Themtl::BackendContext
contains a MTLDevice and MTLCommandQueue which should be used by the backend. These objects must have their own ref which will be released when themtl::BackendContext
is destroyed. Ganesh will take its own ref on the objects which will be released when theDirectContext
is destroyed.