redo MTLRenderPassDescriptor creation
This commit is contained in:
@@ -2,11 +2,15 @@
|
||||
#include "framebuffer/gryphn_framebuffer.h"
|
||||
#include "utils/gryphn_bool.h"
|
||||
#include "utils/gryphn_image_format.h"
|
||||
#include "utils/lists/gryphn_array_list.h"
|
||||
#import <Metal/Metal.h>
|
||||
#import <Metal/MTLRenderPass.h>
|
||||
|
||||
typedef MTLRenderPassDescriptor* mtlSubpass;
|
||||
|
||||
typedef struct gnPlatformFramebuffer_t {
|
||||
MTLRenderPassDescriptor* framebuffer;
|
||||
uint32_t subpassCount;
|
||||
mtlSubpass* subpasses;
|
||||
} gnPlatformFramebuffer;
|
||||
|
||||
gnBool isDepthFormat(gnImageFormat format);
|
||||
|
Reference in New Issue
Block a user