Removed Shader source library, changed header and enum type locations

This commit is contained in:
Xiao Qi 2022-10-25 15:43:36 +08:00
parent 2dbd2f6030
commit b4726ae992
4 changed files with 9 additions and 17 deletions

View File

@ -13,10 +13,17 @@
#include "SHAssetData.h"
#include "SH_API.h"
#include <vector>
#include "Graphics/MiddleEnd/Shaders/SHShaderType.h"
namespace SHADE
{
enum class SH_SHADER_TYPE : uint8_t
{
VERTEX,
FRAGMENT,
COMPUTE,
INAVLID_TYPE
};
struct SH_API SHShaderAsset : SHAssetData
{
/*-----------------------------------------------------------------------*/

View File

@ -1,6 +1,7 @@
#include "SHPch.h"
#include "SHShaderModuleLibrary.h"
#include "Graphics/Devices/SHVkLogicalDevice.h"
#include "Assets/Asset Types/SHShaderAsset.h"
namespace SHADE
{

View File

@ -2,7 +2,6 @@
#define SH_SHADER_MODULE_LIBRARY_H
#include "Graphics/Shaders/SHVkShaderModule.h"
#include "SHShaderSourceLibrary.h"
#include <map>
namespace SHADE

View File

@ -1,15 +0,0 @@
#ifndef SH_SHADER_TYPE_H
#define SH_SHADER_TYPE_H
namespace SHADE
{
enum class SH_SHADER_TYPE : uint8_t
{
VERTEX,
FRAGMENT,
COMPUTE,
INAVLID_TYPE
};
}
#endif