bloat-buster/bootstrap/std/metal_rendering.h
2025-01-05 21:54:19 -06:00

17 lines
226 B
Objective-C

#pragma once
#import <Metal/Metal.h>
STRUCT(Renderer)
{
id<MTLDevice> device;
id<MTLCommandQueue> command_queue;
id<MTLRenderPipelineState> pipeline_state;
};
STRUCT(RenderWindow)
{
CAMetalLayer* layer;
};