Files
LNXRNT/Kinc/Backends/Graphics5/Metal/Sources/kinc/backend/graphics5/metalunit.m
2026-06-09 12:45:01 -07:00

23 lines
610 B
Objective-C

#import <Metal/Metal.h>
#import <MetalKit/MTKView.h>
static id<MTLCommandBuffer> command_buffer = nil;
static id<MTLRenderCommandEncoder> render_command_encoder = nil;
static id<MTLComputeCommandEncoder> compute_command_encoder = nil;
static void start_render_pass(void);
static void end_render_pass(void);
#include "Metal.m.h"
#include "commandlist.m.h"
#include "compute.m.h"
#include "constantbuffer.m.h"
#include "indexbuffer.m.h"
#include "pipeline.m.h"
#include "raytrace.m.h"
#include "rendertarget.m.h"
#include "sampler.m.h"
#include "shader.m.h"
#include "texture.m.h"
#include "vertexbuffer.m.h"