SCNView encoder questions

Hi,


one can reach the encoder in use for the current SceneKit rendering pass by the currentRenderCommandEncoder property. My questions are:

1. How can I get the texture the encoder is rendering into? Or the colorAttachments? Or the current drawable in use?

2. How can I get the commandBuffer the encoder belongs to? Or any other solution how the addCompletedHandler method can be used?


It is important that I do not want to create a new commandBuffer and a new encoder, the already existing one of the SCNView should be used. And I should use SCNView. The SCNRenderer class is not good by other reasons.