this sample has two functions in AAPLRenderer:
1. - (nonnull instancetype)initWithMetalKitView:(nonnull MTKView *)mtkView
setting MTLCommandQueue, MTLTexture, MTLRenderPassDescriptor, MTLRenderPipelineState (offline & screen)
2. - (void)drawInMTKView:(nonnull MTKView *)view
creates object to render with vertices
but what if I just want to render texture offline to save it as image? why then I need to use function [AAPLRenderer drawInMTKView:] which creates renderable object. as I thought I may create renderable object outside of function [AAPLRenderer drawInMTKView:]
Can you please show example with offline render to texture without rendering in MTKView?