Accessing Metal Backend MTLCommandBuffer, MTLRenderCommandEncoder, MTLDevice from the engine ( iOS ) #9365
Unanswered
orassemusse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to draw objects from external library like UI and particule effects such ImGui, Effekseer, etc that require acess to a metal MTLCommandBuffer, MTLRenderCommandEncoder, MTLDevice on iOS. For exemple I use:
ImGui_ImplMetal_NewFrame(MTL::RenderPassDescriptor* renderPassDescriptor) and ImGui_ImplMetal_RenderDrawData(ImDrawData* draw_data,
MTL::CommandBuffer* commandBuffer,
MTL::RenderCommandEncoder* commandEncoder) to draw ImGui from a simple renderer.
How can I access the metal backend from the Filament engine code ? Do I need to think about render pass, where and when to draw ?
best regards,
Olive
Beta Was this translation helpful? Give feedback.
All reactions