MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / Export

Method Export

layers/error_message/logging.h:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 bool Empty() const { return name.empty(); }
135
136 VkDebugUtilsLabelEXT Export() const {
137 VkDebugUtilsLabelEXT out = vku::InitStructHelper();
138 out.pLabelName = name.c_str();
139 std::copy(color.cbegin(), color.cend(), out.color);
140 return out;
141 };
142
143 LoggingLabel() : name(), color({{0.f, 0.f, 0.f, 0.f}}) {}
144 LoggingLabel(const VkDebugUtilsLabelEXT* label_info);

Callers 2

LogMessageMethod · 0.45
ExportMethod · 0.45

Calls 3

c_strMethod · 0.80
cbeginMethod · 0.45
cendMethod · 0.45

Tested by

no test coverage detected