move image format over to core
This commit is contained in:
27
projects/core/gryphn_image_format.h
Normal file
27
projects/core/gryphn_image_format.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
typedef enum gnImageFormat {
|
||||
GN_FORMAT_NONE,
|
||||
GN_FORMAT_BGRA8_SRGB,
|
||||
GN_FORMAT_BGRA8,
|
||||
GN_FORMAT_RGBA8_SRGB,
|
||||
GN_FORMAT_D24S8_UINT,
|
||||
GN_FORMAT_D32S8_UINT,
|
||||
} gnImageFormat;
|
||||
|
||||
typedef enum gnColorSpace {
|
||||
GN_COLOR_SPACE_NONE,
|
||||
GN_COLOR_SPACE_SRGB_NONLINEAR
|
||||
} gnColorSpace;
|
||||
|
||||
typedef enum gnImageSharingMode {
|
||||
GN_SHARING_MODE_EXCLUSIVE, GN_SHARING_MODE_CONCURRENT
|
||||
} gnImageSharingMode;
|
||||
|
||||
typedef enum gnImageLayout {
|
||||
GN_LAYOUT_UNDEFINED,
|
||||
GN_LAYOUT_PRESENTATION_QUEUE_IMAGE,
|
||||
GN_LAYOUT_TRANSFER_DESTINATION,
|
||||
GN_LAYOUT_DEPTH_STENCIL,
|
||||
GN_LAYOUT_COLOR_ATTACHMENT
|
||||
} gnImageLayout;
|
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
#include <utils/gryphn_image_format.h>
|
||||
#include <core/gryphn_image_format.h>
|
||||
#include <output_device/gryphn_output_device.h>
|
||||
#include <window_surface/gryphn_surface.h>
|
||||
#include "gryphn_handles.h"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include "stdint.h"
|
||||
#include "utils/gryphn_image_format.h"
|
||||
#include "core/gryphn_image_format.h"
|
||||
#include "core/gryphn_return_code.h"
|
||||
#include "core/src/output_device/gryphn_physical_output_device.h"
|
||||
#include "gryphn_handles.h"
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
#include "utils/gryphn_image_format.h"
|
||||
#include "core/gryphn_image_format.h"
|
||||
#include "core/gryphn_return_code.h"
|
||||
#include "utils/math/gryphn_vec3.h"
|
||||
#include "core/src/output_device/gryphn_physical_output_device.h"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include <gryphn_platform_include.h>
|
||||
#include <utils/gryphn_image_format.h>
|
||||
#include <core/gryphn_image_format.h>
|
||||
#include <instance/gryphn_instance.h>
|
||||
#include "utils/math/gryphn_vec2.h"
|
||||
|
||||
|
Reference in New Issue
Block a user