split to BlendMode.h/LightCullMode.h from RenderFramework.h

This commit is contained in:
2024-10-29 01:47:24 +08:00
parent d1ad3f35ac
commit ffc6f0a074
4 changed files with 73 additions and 47 deletions

23
inc/hgl/graph/BlendMode.h Normal file
View File

@@ -0,0 +1,23 @@
#pragma once
#include<hgl/graph/VKNamespace.h>
#include<hgl/TypeFunc.h>
VK_NAMESPACE_BEGIN
enum class BlendMode
{
Opaque,
Mask,
Transparent, ///<普通的Alpha混合透明
PreMulti, ///<预乘的Alpha混合透明
Add, ///<加法混合
Subtract, ///<减法混合
ReverseSubtract, ///<反减混合
Min, ///<最小混合
Max, ///<最大混合
ENUM_CLASS_RANGE(Opaque,Max)
};
VK_NAMESPACE_END