add mipLevels info

This commit is contained in:
Greg Wells
2025-07-03 11:49:31 -04:00
parent 93f26f7f97
commit cfedb49569
4 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,6 @@
#pragma once
#include <output_device/gryphn_physical_output_device.h>
#include <utils/gryphn_error_code.h>
#include "loader/src/gryphn_device_functions.h"
typedef struct gnDeviceQueueInfo {
int queueIndex;

View File

@@ -17,10 +17,10 @@ typedef struct gnPhysicalDeviceFeatures {
} gnPhysicalDeviceFeatures;
typedef enum gnQueueTypeFlags {
GN_QUEUE_GRAPHICS = 0x00000001,
GN_QUEUE_COMPUTE = 0x00000002,
GN_QUEUE_TRANSFER = 0x00000004,
GN_QUEUE_SPARSE_BINDING = 0x00000008
GN_QUEUE_GRAPHICS = 1,
GN_QUEUE_COMPUTE = 2,
GN_QUEUE_TRANSFER = 4,
GN_QUEUE_SPARSE_BINDING = 8
} gnQueueTypeFlags;
typedef struct gnQueueProperties {

View File

@@ -18,6 +18,7 @@ typedef enum gnTextureWrap {
typedef struct gnTextureInfo {
gnExtent3D extent;
uint32_t mipmapLevels;
gnTextureType type;
gnImageFormat format;
gnTextureFilter minFilter, magFilter;