wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::reflect Namespace Reference

Classes

struct  EntryPoint
 
class  Parser
 
struct  SpvType
 

Typedefs

using spirv_t = std::vector<uint32_t>
 

Functions

auto to_string (spv::ExecutionModel model)
 
auto get_vk_shader_stage (spv::ExecutionModel const &execution_model) -> tl::expected< VK_NS::ShaderStageFlagBits, std::error_code >
 
template<typename T >
auto to_bytes (T value) -> std::vector< uint8_t >
 

Typedef Documentation

◆ spirv_t

typedef std::vector< uint32_t > wren::reflect::spirv_t = std::vector<uint32_t>

Function Documentation

◆ get_vk_shader_stage()

auto wren::reflect::get_vk_shader_stage ( spv::ExecutionModel const & execution_model) -> tl::expected<VK_NS::ShaderStageFlagBits, std::error_code>
inline

◆ to_bytes()

template<typename T >
auto wren::reflect::to_bytes ( T value) -> std::vector<uint8_t>

◆ to_string()

auto wren::reflect::to_string ( spv::ExecutionModel model)
inline