载入中...
搜索中...
未找到
ShaderAssetValidation.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Export.h"
4#include "common/Result.h"
5
6namespace eve::asset {
7struct ShaderAsset;
8}
9namespace eve::asset_graphics {
18[[nodiscard]] EVENGINE_API_WORLD Result<void> validateShaderAssetGpu(const asset::ShaderAsset& shader);
19} // namespace eve::asset_graphics
#define EVENGINE_API_WORLD
Definition Export.h:109
Shader * shader
Move-only, checked operation results for the common layer.
Result< void > validateShaderAssetGpu(const asset::ShaderAsset &shader)
Validate complete SPIR-V semantics and the supported engine pipeline interface before upload.