载入中...
搜索中...
未找到
ComputeProgram.h
浏览该文件的文档.
17[[nodiscard]] EVENGINE_API_WORLD Result<std::vector<uint32_t>> compileComputeSpirv(const std::string& source);
Move-only, checked operation results for the common layer.
EVENGINE_API_WORLD Result< std::unique_ptr< ComputeShader > > createComputeShader(const std::vector< uint32_t > &words)
Create an owning compute pipeline from valid SPIR-V produced by compileComputeSpirv.
Definition Gpgpu.cpp:307
EVENGINE_API_WORLD Result< std::vector< uint32_t > > compileComputeSpirv(const std::string &source)
Compile GLSL compute source to owning SPIR-V without accessing Graphics or a GPU.
Definition Gpgpu.cpp:294