34 std::unique_ptr<API::ShaderModule>
build(VkResult* returnResult =
nullptr);
bool loadFromFile(const std::string &filename)
const API::Device & _device
std::vector< uint32_t > _data
ShaderModule & operator=(const ShaderModule &)=delete
bool build(API::ShaderModule &instance, VkResult *returnResult=nullptr)
ShaderModule(const API::Device &device)
void loadFromData(const std::vector< uint32_t > &data)