add mipLevels info
This commit is contained in:
@@ -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;
|
||||
|
@@ -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 {
|
||||
|
@@ -18,6 +18,7 @@ typedef enum gnTextureWrap {
|
||||
|
||||
typedef struct gnTextureInfo {
|
||||
gnExtent3D extent;
|
||||
uint32_t mipmapLevels;
|
||||
gnTextureType type;
|
||||
gnImageFormat format;
|
||||
gnTextureFilter minFilter, magFilter;
|
||||
|
Reference in New Issue
Block a user