rewrite shaders

This commit is contained in:
Samuliak 2024-07-02 09:02:03 +02:00
parent e0fcfb44a8
commit d41e77491a
5 changed files with 52 additions and 18 deletions

View file

@ -29,4 +29,11 @@ class RendererMTL final : public Renderer {
MTL::Device* device;
MTL::CommandQueue* commandQueue;
// HACK
MTL::Texture* topScreenTexture;
// Pipelines
MTL::RenderPipelineState* displayPipeline;
MTL::RenderPipelineState* drawPipeline;
};