Files
armorpaint/base/sources/backends/metal_gpu.h
T

31 lines
489 B
C
Raw Normal View History

2025-02-26 18:46:36 +01:00
#pragma once
typedef struct {
2025-09-09 19:41:55 +02:00
void *pipeline;
void *depth;
2025-03-16 19:49:13 +01:00
} gpu_pipeline_impl_t;
2025-02-26 18:46:36 +01:00
typedef struct {
2025-07-22 17:36:57 +02:00
char name[256];
2025-07-11 20:06:33 +02:00
void *mtl_function;
2025-04-16 20:22:07 +02:00
char *source;
int length;
2025-03-16 19:49:13 +01:00
} gpu_shader_impl_t;
2025-02-26 18:46:36 +01:00
typedef struct {
void *_tex;
void *data;
2025-03-16 19:49:13 +01:00
} gpu_texture_impl_t;
2025-02-26 18:46:36 +01:00
typedef struct {
2025-06-30 11:59:54 +02:00
void *metal_buffer;
2025-03-18 10:39:23 +01:00
} gpu_buffer_impl_t;
2025-06-30 11:59:54 +02:00
typedef struct {
void *_raytracingPipeline;
} gpu_raytrace_pipeline_impl_t;
typedef struct {
void *_accelerationStructure;
} gpu_raytrace_acceleration_structure_impl_t;