gryphn + vulkan stuff for depth textures

This commit is contained in:
Gregory Wells
2025-06-17 14:32:56 -04:00
parent e5a11b1ef4
commit 86f2ac6e5a
11 changed files with 99 additions and 48 deletions

View File

@@ -4,6 +4,7 @@
gnReturnCode gnCreateTexture(gnTexture* texture, gnDevice device, const gnTextureInfo info) {
*texture = malloc(sizeof(struct gnTexture_t));
(*texture)->device = device;
(*texture)->info = info;
return device->deviceFunctions->_gnCreateTexture(*texture, device, info);
}

View File

@@ -29,6 +29,7 @@ typedef struct gnTextureInfo {
struct gnTexture_t {
struct gnPlatformTexture_t* texture;
gnDeviceHandle device;
gnTextureInfo info;
};
#endif