MCPcopy Create free account
hub / github.com/Ipotrick/Daxa / to_string

Function to_string

src/utils/impl_task_graph.cpp:116–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 /// ===========================
115
116 auto to_string(TaskResourceLifetimeType lifetime_type) -> std::string_view
117 {
118 switch (lifetime_type)
119 {
120 case TaskResourceLifetimeType::TRANSIENT: return "TRANSIENT";
121 case TaskResourceLifetimeType::PERSISTENT: return "PERSISTENT";
122 case TaskResourceLifetimeType::PERSISTENT_DOUBLE_BUFFER: return "PERSISTENT_DOUBLE_BUFFER";
123 case TaskResourceLifetimeType::EXTERNAL: return "EXTERNAL";
124 default: return "UNKNOWN";
125 }
126 }
127
128 auto to_string(TaskStages tstage) -> std::string
129 {

Callers 15

completeMethod · 0.70
record_commandsMethod · 0.70
task_details_uiFunction · 0.70
resource_detail_uiFunction · 0.70
barrier_tooltip_uiFunction · 0.70
task_timeline_uiFunction · 0.70
save_shader_cacheMethod · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected