Added ShaderLoader using shaderc (GCC only)
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
@@ -23,3 +23,10 @@ EV_NS_DEF_BEGIN(JSONLoader)
|
||||
EV_NS_DEF_FN(JSONAsset, loadAsset, (AssetHandle, handle))
|
||||
|
||||
EV_NS_DEF_END(JSONLoader)
|
||||
|
||||
|
||||
EV_NS_DEF_BEGIN(ShaderLoader)
|
||||
|
||||
EV_NS_DEF_FN(ShaderAsset, loadAsset, (AssetHandle, handle), (ShaderAssetStage, stage), (CONST_STR, shader_name), (CONST_STR, entrypoint), (CompiledShaderType, type))
|
||||
|
||||
EV_NS_DEF_END(ShaderLoader)
|
||||
|
||||
Reference in New Issue
Block a user