mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
ios: Simplify MTKView interface (still doesn't work though)
This commit is contained in:
parent
fb59320829
commit
e378a52b5a
4 changed files with 11 additions and 21 deletions
|
@ -42,11 +42,10 @@ class RendererMTL final : public Renderer {
|
|||
virtual void initGraphicsContext([[maybe_unused]] GL::Context* context) override {}
|
||||
#endif
|
||||
|
||||
virtual void setMTKDrawable(void* drawable) override;
|
||||
virtual void setMTKLayer(void* layer) override;
|
||||
|
||||
private:
|
||||
CA::MetalLayer* metalLayer = nullptr;
|
||||
CA::MetalDrawable* metalDrawable = nullptr;
|
||||
|
||||
MTL::Device* device = nullptr;
|
||||
MTL::CommandQueue* commandQueue = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue