载入中...
搜索中...
未找到
ComputeProgram.h 文件参考
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include "common/Export.h"
#include "common/Result.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::gpgpu
 Fluids module — interactive surface fluid simulation.
 

函数

EVENGINE_API_WORLD Result< std::vector< uint32_t > > eve::gpgpu::compileComputeSpirv (const std::string &source)
 Compile GLSL compute source to owning SPIR-V without accessing Graphics or a GPU.
 
EVENGINE_API_WORLD Result< std::unique_ptr< ComputeShader > > eve::gpgpu::createComputeShader (const std::vector< uint32_t > &words)
 Create an owning compute pipeline from valid SPIR-V produced by compileComputeSpirv.