throw together the worlds worst texture api

This commit is contained in:
Greg Wells
2025-05-29 11:55:12 -04:00
parent 2796a8b65e
commit 5403a2374b
8 changed files with 41 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
#pragma once
typedef struct gnFramebuffer_t {
} gnFramebuffer;

View File

@@ -21,6 +21,7 @@ typedef struct gnPresentationQueue_t {
struct gnOutputDevice_t* outputDevice;
gnBool valid;
uint32_t imageCount;
struct gnTexture_t* images;
} gnPresentationQueue;
gnReturnCode gnCreatePresentationQueue(gnPresentationQueue* presentationQueue, struct gnOutputDevice_t* device, struct gnPresentationQueueInfo_t presentationInfo);

View File

@@ -0,0 +1,7 @@
#pragma once
struct gnPlatformTexture_t;
typedef struct gnTexture_t {
struct gnPlatformTexture_t* texture;
} gnTexture;